You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@texera.apache.org by GitBox <gi...@apache.org> on 2026/06/27 00:11:05 UTC
[GH] (texera/gh-readonly-queue/main/pr-5951-c81eaf174ed8ea698a598f4d268a32212215ed91): Workflow run "Required Checks" is working again!
The GitHub Actions job "Required Checks" on texera.git/gh-readonly-queue/main/pr-5951-c81eaf174ed8ea698a598f4d268a32212215ed91 has succeeded.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).
Head commit for run:
1909563bedc705db2f512164d034f5ef90254eb1 / Xinyuan Lin <xi...@uci.edu>
test(workflow-operator): add unit test coverage for Sklearn MLP and probability-calibration descriptors (#5951)
### What changes were proposed in this PR?
Pin behavior of two previously-untested Sklearn classifier descriptors
(multi-layer perceptron and probability calibration) in
`common/workflow-operator`. No production-code changes. This completes
unit coverage of the concrete `SklearnClassifierOpDesc` classifier
family.
| Spec | Source class | Tests |
| --- | --- | --- |
| `SklearnMultiLayerPerceptronOpDescSpec` |
`SklearnMultiLayerPerceptronOpDesc` | 5 |
| `SklearnProbabilityCalibrationOpDescSpec` |
`SklearnProbabilityCalibrationOpDesc` | 5 |
**Behavior pinned**
| Surface | Contract |
| --- | --- |
| `operatorInfo` | exact model name + `Sklearn <name> Operator`
description; Sklearn group; training/testing input ports + one blocking
output |
| field defaults | `countVectorizer`/`tfidfTransformer` `false`;
`target`/`text` `null` |
| `getOutputSchemas` | `model_name` (STRING) + `model` (BINARY) keyed by
the declared output port |
| `generatePythonCode` | imports the matching sklearn estimator
(`MLPClassifier`/`CalibratedClassifierCV`) and builds the
`make_pipeline` model |
| Round-trip | config fields preserved through the polymorphic
`LogicalOp` base, with the correct `operatorType` discriminator |
### Any related issues, documentation, discussions?
Part of the ongoing `workflow-operator` unit-test coverage effort
(follow-up to the Sklearn classifier coverage in #5925, #5939, #5940,
#5941, #5945, #5946).
### How was this PR tested?
- `sbt "WorkflowOperator/testOnly *SklearnMultiLayerPerceptronOpDescSpec
*SklearnProbabilityCalibrationOpDescSpec"` — 10 tests, all green
- `sbt "WorkflowOperator/Test/scalafmtCheck"` and `sbt
"WorkflowOperator/scalafixAll --check"` — clean
- CI to confirm
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Opus 4.8 [1M context])
Report URL: https://github.com/apache/texera/actions/runs/28272024813
With regards,
GitHub Actions via GitBox