Skip to content

fix(licensing): take the Iris example dataset from scikit-learn instead of UCI - #9000

Merged
mengw15 merged 1 commit into
apache:mainfrom
mengw15:fix/iris-dataset-bsd-source
Oct 15, 2026
Merged

mengw15 merged 1 commit into
apache:mainfrom
mengw15:fix/iris-dataset-bsd-source

Conversation

@mengw15

@mengw15 mengw15 commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

The single-node examples ship Iris.csv in both the source release and the docker-compose bundle, and LICENSE records it as CC BY 4.0 from the UCI repository (#8803). ASF policy allows CC BY works only in binary form ("only include them in binary form", https://www.apache.org/legal/resolved.html), so the file can't be in a source release under that licence.

This takes the dataset from the copy scikit-learn distributes under the BSD 3-Clause License instead. The CSV keeps its columns, row order and species names, so the example workflow is unaffected. Only rows 35 and 38 change: they are the two known transcription errors in the UCI copy, which scikit-learn's copy corrects to Fisher's published values.

The LICENSE entries (root and bin/single-node/) move to BSD 3-Clause, the compose bundle ships the BSD 3-Clause text instead of CC BY 4.0, the now-unused licenses/LICENSE-CC-BY-4.0.txt is removed, and the dataset description names the new source. This conflicts with #8997 in LICENSE, since both add the BSD 3-Clause section; whichever lands second merges the two entries.

Any related issues, documentation, discussions?

Follows up #8803.

How was this PR tested?

Checked that every row of the new Iris.csv matches scikit-learn 1.7.2's iris.csv. Ran the bundle's git archive export step against this commit to confirm it picks up the BSD 3-Clause text, and checked that the new description still makes valid JSON in load-examples.sh, which inserts it unescaped.

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

Generated-by: Claude Code (claude-opus-5-5)

…3) instead of UCI (CC BY 4.0)

The single-node examples ship Iris.csv in both the source release and the
docker-compose bundle, recorded in LICENSE as CC BY 4.0 from the UCI
repository. ASF policy allows CC BY works in binary form only, so they
cannot be in a source release.

Take the dataset from the copy scikit-learn distributes under the BSD
3-Clause License instead. The CSV keeps its columns and row order; only
rows 35 and 38 change, which are the two known transcription errors in
the UCI copy that scikit-learn's copy corrects to Fisher's values. Move the
LICENSE entries to BSD 3-Clause, ship the BSD 3-Clause text in the compose
bundle, drop the now-unused CC BY 4.0 text, and update the dataset
description.
@mengw15
mengw15 requested review from xuang7 and a balanced review from Copilot October 15, 2026 17:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

1 open finding
What changed in this PR

Updates the bundled Iris example dataset and licensing metadata to use the scikit-learn–distributed copy (BSD 3-Clause) instead of the UCI/Kaggle CC BY 4.0 copy, ensuring source-release license compliance.

Changes:

  • Replace the Iris dataset provenance text and update LICENSE entries to BSD 3-Clause attribution.
  • Update the bundled Iris.csv rows to match scikit-learn’s corrected copy.
  • Remove the CC BY 4.0 license text and adjust the release-candidate bundling workflow to ship the BSD 3-Clause text.
File Description
licenses/​LICENSE-CC-BY-4.0.txt Removes the previously bundled CC BY 4.0 license text.
bin/​single-node/​examples/​datasets/​iris-species/​description.txt Updates dataset description/provenance to scikit-learn (BSD 3-Clause).
bin/​single-node/​examples/​datasets/​iris-species/​Iris.csv Updates dataset rows to match scikit-learn’s corrected iris.csv.
bin/​single-node/​LICENSE Updates single-node bundle third-party notice for Iris dataset to BSD 3-Clause.
LICENSE Updates root third-party notice for Iris dataset to BSD 3-Clause.
.github/​workflows/​create-release-candidate.yml Ships BSD 3-Clause text in the release-candidate bundle instead of CC BY 4.0.

🧠 Review effort: Lite


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread LICENSE Resolved
@Yicong-Huang Yicong-Huang added release/v1.3 back porting to release/v1.3 release/v1.2 back porting to release/v1.2 labels Oct 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Backport auto-label report

This fix: PR was checked against each actively-supported release branch. A release/* label nominates a backport target; the branch's release manager approving this PR is what sends the fix there. The required Backport Approvals check stays red until every label below is approved, so each manager either approves or removes their own label — which is why the labels left on a merged PR are exactly the branches it reached.

Release branch Analysis
✅ release/v1.3 Change detected on this branch — label added; this fix is queued to backport here.
✅ release/v1.2 Change detected on this branch — label added; this fix is queued to backport here. @xuang7 decides: approving sends the fix here, removing this label declines it. The merge waits on one or the other. Review requested.

Auto-label run.

@github-actions

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: @bobbai00
    You can notify them by mentioning @bobbai00 in a comment.

@github-actions github-actions Bot added fix ci changes related to CI docs Changes related to documentations infra labels Oct 15, 2026

@xuang7 xuang7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@codecov-commenter

codecov-commenter commented Oct 15, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.30%. Comparing base (7426431) to head (82e867d).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #9000   +/-   ##
=========================================
  Coverage     92.30%   92.30%           
+ Complexity     5046     5045    -1     
=========================================
  Files          1260     1260           
  Lines         53887    53887           
  Branches       6711     6711           
=========================================
  Hits          49743    49743           
+ Misses         2486     2485    -1     
- Partials       1658     1659    +1     
Flag Coverage Δ
access-control-service 77.38% <ø> (ø)
agent-service 99.16% <ø> (ø)
amber 87.32% <ø> (ø)
computing-unit-managing-service 60.48% <ø> (ø)
config-service 87.37% <ø> (ø)
file-service 82.00% <ø> (ø)
frontend 96.55% <ø> (ø)
notebook-migration-service 83.73% <ø> (ø)
pyamber 98.53% <ø> (ø)
workflow-compiling-service 72.43% <ø> (ø)

☔ 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

Copy link
Copy Markdown
Contributor

⚠️ Benchmark changes need a look

🟢 3 better · 🔴 7 worse · ⚪ 5 noise (<±5%) · 0 without baseline

Compared against main 7426431 benchmarked on this same runner, so the delta is largely free of cross-runner hardware noise. The "7d avg" column still reflects the gh-pages dashboard. Treat <±5% as noise unless repeated.

Dashboard · Run

config throughput MB/s latency max Δ latest / 7d
🟢 bs=10 sw=10 sl=64 421 0.257 22,449/31,204/31,204 us 🟢 -13.3% / 🔴 +113.6%
🔴 bs=100 sw=10 sl=64 860 0.525 110,861/176,238/176,238 us 🔴 +13.2% / 🔴 +75.9%
🔴 bs=1000 sw=10 sl=64 1,009 0.616 984,274/1,103,013/1,103,013 us 🔴 +8.9% / 🔴 +19.3%
Baseline details

Latest main 7426431 from same runner

config metric PR latest main 7d avg Δ latest Δ 7d
bs=10 sw=10 sl=64 throughput 421 tuples/sec 426 tuples/sec 912.36 tuples/sec -1.2% -53.9%
bs=10 sw=10 sl=64 MB/s 0.257 MB/s 0.26 MB/s 0.557 MB/s -1.2% -53.8%
bs=10 sw=10 sl=64 p50 22,449 us 23,686 us 11,391 us -5.2% +97.1%
bs=10 sw=10 sl=64 p95 31,204 us 36,000 us 14,608 us -13.3% +113.6%
bs=10 sw=10 sl=64 p99 31,204 us 36,000 us 17,250 us -13.3% +80.9%
bs=100 sw=10 sl=64 throughput 860 tuples/sec 923 tuples/sec 1,161 tuples/sec -6.8% -25.9%
bs=100 sw=10 sl=64 MB/s 0.525 MB/s 0.564 MB/s 0.709 MB/s -6.9% -25.9%
bs=100 sw=10 sl=64 p50 110,861 us 103,538 us 91,471 us +7.1% +21.2%
bs=100 sw=10 sl=64 p95 176,238 us 155,731 us 100,192 us +13.2% +75.9%
bs=100 sw=10 sl=64 p99 176,238 us 155,731 us 119,565 us +13.2% +47.4%
bs=1000 sw=10 sl=64 throughput 1,009 tuples/sec 1,038 tuples/sec 1,226 tuples/sec -2.8% -17.7%
bs=1000 sw=10 sl=64 MB/s 0.616 MB/s 0.633 MB/s 0.748 MB/s -2.7% -17.7%
bs=1000 sw=10 sl=64 p50 984,274 us 957,187 us 887,282 us +2.8% +10.9%
bs=1000 sw=10 sl=64 p95 1,103,013 us 1,012,905 us 924,352 us +8.9% +19.3%
bs=1000 sw=10 sl=64 p99 1,103,013 us 1,012,905 us 951,858 us +8.9% +15.9%
Raw CSV
config_idx,batch_size,schema_width,string_len,num_batches,total_ms,total_tuples,total_bytes,tuples_per_sec,mb_per_sec,lat_p50_us,lat_p95_us,lat_p99_us
0,10,10,64,20,475.04,200,128000,421,0.257,22449.44,31203.88,31203.88
1,100,10,64,20,2326.11,2000,1280000,860,0.525,110860.73,176238.45,176238.45
2,1000,10,64,20,19820.74,20000,12800000,1009,0.616,984273.99,1103013.20,1103013.20

@mengw15
mengw15 added this pull request to the merge queue Oct 15, 2026
Merged via the queue into apache:main with commit 707849a Oct 15, 2026
48 of 60 checks passed
@mengw15
mengw15 deleted the fix/iris-dataset-bsd-source branch October 15, 2026 23:08
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened: draft #9009 (#9009) to release/v1.2, assigned to @mengw15 — needs manual work because the cherry-pick conflicts.

Yicong-Huang pushed a commit that referenced this pull request Oct 15, 2026
…ad of UCI (#9000)

### What changes were proposed in this PR?

The single-node examples ship `Iris.csv` in both the source release and
the docker-compose bundle, and `LICENSE` records it as CC BY 4.0 from
the UCI repository (#8803). ASF policy allows CC BY works only in binary
form ("only include them in binary form",
https://www.apache.org/legal/resolved.html), so the file can't be in a
source release under that licence.

This takes the dataset from the copy scikit-learn distributes under the
BSD 3-Clause License instead. The CSV keeps its columns, row order and
species names, so the example workflow is unaffected. Only rows 35 and
38 change: they are the two known transcription errors in the UCI copy,
which scikit-learn's copy corrects to Fisher's published values.

The `LICENSE` entries (root and `bin/single-node/`) move to BSD
3-Clause, the compose bundle ships the BSD 3-Clause text instead of CC
BY 4.0, the now-unused `licenses/LICENSE-CC-BY-4.0.txt` is removed, and
the dataset description names the new source. This conflicts with #8997
in `LICENSE`, since both add the BSD 3-Clause section; whichever lands
second merges the two entries.

### Any related issues, documentation, discussions?

Follows up #8803.

### How was this PR tested?

Checked that every row of the new `Iris.csv` matches scikit-learn
1.7.2's `iris.csv`. Ran the bundle's `git archive` export step against
this commit to confirm it picks up the BSD 3-Clause text, and checked
that the new description still makes valid JSON in `load-examples.sh`,
which inserts it unescaped.

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

(backported from commit 707849a)

Generated-by: Claude Code (claude-opus-5-5)
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened: draft #9011 (#9011) to release/v1.3, assigned to @mengw15 — needs manual work because the cherry-pick conflicts.

mengw15 added a commit to mengw15/texeraFork that referenced this pull request Oct 16, 2026
… instead of UCI (apache#9011)

### What changes were proposed in this PR?

Automated backport of apache#9000 to `release/v1.3`.

Source: 707849a · [automation
run](https://github.com/apache/texera/actions/runs/38821695533)

### Any related issues, documentation, discussions?

Backport of apache#9000.

### How was this PR tested?

Release-branch CI runs on this branch once the conflicts are resolved
and this PR is marked ready for review.

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

No.

---------

Co-authored-by: Meng Wang <[email protected]>
Co-authored-by: mengw15 <[email protected]>
mengw15 added a commit that referenced this pull request Oct 27, 2026
#8830 has since added the CC BY Iris entries, the CC BY 4.0 text and its copy
in the RC workflow to release/v1.2, so this branch now applies #9000 as on
main: the Iris entries in LICENSE and bin/single-node/LICENSE switch to
scikit-learn's BSD 3-Clause copy, the bundle ships
licenses/LICENSE-BSD-3-Clause.txt instead of the CC BY text, and
licenses/LICENSE-CC-BY-4.0.txt is removed. As on release/v1.3 (#9011), main's
Trademarks section (the Apple logo) is left out.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci changes related to CI docs Changes related to documentations fix infra release/v1.2 back porting to release/v1.2 release/v1.3 back porting to release/v1.3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants