The GitHub Actions job "Required Checks" on 
texera.git/gh-readonly-queue/main/pr-5951-e17de6fd622daa340594dd268b6d74632cfb08c8
 has succeeded.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
588a9d7831012882cc314aa3b0520973cd07ee23 / Xinyuan Lin <[email protected]>
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/28227232972

With regards,
GitHub Actions via GitBox

Reply via email to