aglinxinyuan opened a new pull request, #4827: URL: https://github.com/apache/texera/pull/4827
### What changes were proposed in this PR? Add `SklearnOpDescRegistrySpec` covering every concrete `SklearnClassifierOpDesc` (24 subclasses) and `SklearnTrainingOpDesc` (26 subclasses) with the exact `(importStatement, userFriendlyModelName)` pair each one returns. A typo in either string would silently misroute either the generated Python pipeline or the user-facing UI label; pinning them in one table makes that a test failure. Also covers: - `SklearnClassifierOpDesc` base default (empty strings) - `SklearnTrainingOpDesc` base default (RandomForest) - `generatePythonCode` smoke test for a classifier (`UDFOperatorV2`) and a training (`UDFTableOperator`) subclass, verifying the import string is embedded ### Any related issues, documentation, discussions? Closes #4826 ### How was this PR tested? `sbt "WorkflowOperator/testOnly org.apache.texera.amber.operator.sklearn.SklearnOpDescRegistrySpec"` — 104/104 tests pass. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Opus 4.7) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
