Skip to content

feat(operator): export the estimators and the Hugging Face models - #8368

Open
kz930 wants to merge 1 commit into
apache:mainfrom
kz930:feat/standalone-ml-m3
Open

feat(operator): export the estimators and the Hugging Face models#8368
kz930 wants to merge 1 commit into
apache:mainfrom
kz930:feat/standalone-ml-m3

Conversation

@kz930

@kz930 kz930 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

The scikit-learn estimators are fitted on one port and score on the other, so
the script holds both frames and narrows each by the same rule: a fit and a
score taken on different columns would compare two different models.

The four Hugging Face models declare the column types they take, and the iris
regression keeps the row when a petal measurement is empty rather than ending
the run on it.

Sklearn Prediction and Sklearn Testing are reported as unverifiable rather
than exported blind: each consumes a fitted model on an input port, and a
fixture written from the JVM cannot carry a live Python object.

Any related issues, documentation, discussions?

Part of #8325, 16 of 20; that issue lists the set in order. It needs #8327 for the trait, so it does not compile until that lands, and the rows these operators add to the verification runner follow with the harness rather than as whole new files here.

Closes #8316, closes #8056.

How was this PR tested?

Each operator asserts the block it emits in its own spec. Once the harness lands, each is also run through the engine and through its generated script, on every configuration its schema offers, and the two answers compared.

Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Opus 5)

The scikit-learn estimators are fitted on one port and score on the other, so
the script holds both frames and narrows each by the same rule: a fit and a
score taken on different columns would compare two different models.

The four Hugging Face models declare the column types they take, and the iris
regression keeps the row when a petal measurement is empty rather than ending
the run on it.

Sklearn Prediction and Sklearn Testing are reported as unverifiable rather
than exported blind: each consumes a fitted model on an input port, and a
fixture written from the JVM cannot carry a live Python object.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Automated Reviewer Suggestions

Based on the git blame history of the changed files, we recommend the following reviewers:

  • Contributors with relevant context: @aglinxinyuan, @carloea2
    You can notify them by mentioning @aglinxinyuan, @carloea2 in a comment.

@codecov-commenter

codecov-commenter commented Sep 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.11%. Comparing base (7976744) to head (a717df1).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #8368      +/-   ##
============================================
- Coverage     94.11%   94.11%   -0.01%     
+ Complexity     4811     4802       -9     
============================================
  Files          1197     1197              
  Lines         48813    48804       -9     
  Branches       5906     5906              
============================================
- Hits          45939    45930       -9     
  Misses         1420     1420              
  Partials       1454     1454              
Flag Coverage Δ *Carryforward flag
access-control-service 81.00% <ø> (ø)
agent-service 99.32% <ø> (ø) Carriedforward from 7976744
amber 90.07% <ø> (-0.01%) ⬇️ Carriedforward from 7976744
computing-unit-managing-service 73.67% <ø> (ø) Carriedforward from 7976744
config-service 87.00% <ø> (ø)
file-service 87.91% <ø> (ø) Carriedforward from 7976744
frontend 96.86% <ø> (ø) Carriedforward from 7976744
notebook-migration-service 79.31% <ø> (ø)
pyamber 98.47% <ø> (ø) Carriedforward from 7976744
workflow-compiling-service 77.19% <ø> (ø) Carriedforward from 7976744

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

📊 Arrow Flight E2E bench

(no arrow-flight-e2e.csv in artifact)

Full dashboard · Workflow run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

2 participants