Repository navigation
fix(licensing, v1.3): take the Iris example dataset from scikit-learn instead of UCI - #9011
Conversation
…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)
|
The cherry-pick conflicted and was committed with conflict markers. Resolve the conflicts on this branch, then mark this PR ready for review. Conflicting files:
|
…s BSD-3 entry) The incoming side also carried main's Trademarks section (the Apple logo), which release/v1.3 does not ship.
Automated Reviewer SuggestionsBased on the
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release/v1.3 #9011 +/- ##
===============================================
Coverage 94.09% 94.10%
- Complexity 4808 4809 +1
===============================================
Files 1194 1194
Lines 48625 48625
Branches 5864 5864
===============================================
+ Hits 45754 45758 +4
+ Misses 1414 1412 -2
+ Partials 1457 1455 -2
☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
| config | throughput | MB/s | latency | max Δ latest / 7d | |
|---|---|---|---|---|---|
| 🔴 | bs=10 sw=10 sl=64 | 399 | 0.243 | 23,363/33,157/33,157 us | 🔴 -6.5% / 🔴 +127.0% |
| 🔴 | bs=100 sw=10 sl=64 | 799 | 0.488 | 124,262/144,175/144,175 us | 🔴 +7.0% / 🔴 +43.9% |
| ⚪ | bs=1000 sw=10 sl=64 | 924 | 0.564 | 1,082,915/1,128,565/1,128,565 us | ⚪ within ±5% / 🔴 -24.6% |
Baseline details
Latest main cdaaf2a from same runner
| config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
|---|---|---|---|---|---|---|
| bs=10 sw=10 sl=64 | throughput | 399 tuples/sec | 426 tuples/sec | 912.36 tuples/sec | -6.3% | -56.3% |
| bs=10 sw=10 sl=64 | MB/s | 0.243 MB/s | 0.26 MB/s | 0.557 MB/s | -6.5% | -56.4% |
| bs=10 sw=10 sl=64 | p50 | 23,363 us | 23,573 us | 11,391 us | -0.9% | +105.1% |
| bs=10 sw=10 sl=64 | p95 | 33,157 us | 34,211 us | 14,608 us | -3.1% | +127.0% |
| bs=10 sw=10 sl=64 | p99 | 33,157 us | 34,211 us | 17,250 us | -3.1% | +92.2% |
| bs=100 sw=10 sl=64 | throughput | 799 tuples/sec | 824 tuples/sec | 1,161 tuples/sec | -3.0% | -31.2% |
| bs=100 sw=10 sl=64 | MB/s | 0.488 MB/s | 0.503 MB/s | 0.709 MB/s | -3.0% | -31.1% |
| bs=100 sw=10 sl=64 | p50 | 124,262 us | 121,685 us | 91,471 us | +2.1% | +35.8% |
| bs=100 sw=10 sl=64 | p95 | 144,175 us | 134,687 us | 100,192 us | +7.0% | +43.9% |
| bs=100 sw=10 sl=64 | p99 | 144,175 us | 134,687 us | 119,565 us | +7.0% | +20.6% |
| bs=1000 sw=10 sl=64 | throughput | 924 tuples/sec | 925 tuples/sec | 1,226 tuples/sec | -0.1% | -24.6% |
| bs=1000 sw=10 sl=64 | MB/s | 0.564 MB/s | 0.565 MB/s | 0.748 MB/s | -0.2% | -24.6% |
| bs=1000 sw=10 sl=64 | p50 | 1,082,915 us | 1,075,515 us | 887,282 us | +0.7% | +22.0% |
| bs=1000 sw=10 sl=64 | p95 | 1,128,565 us | 1,124,698 us | 924,352 us | +0.3% | +22.1% |
| bs=1000 sw=10 sl=64 | p99 | 1,128,565 us | 1,124,698 us | 951,858 us | +0.3% | +18.6% |
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,501.50,200,128000,399,0.243,23363.41,33157.45,33157.45
1,100,10,64,20,2502.01,2000,1280000,799,0.488,124262.39,144174.58,144174.58
2,1000,10,64,20,21635.76,20000,12800000,924,0.564,1082915.24,1128564.69,1128564.69#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.
What changes were proposed in this PR?
Automated backport of #9000 to
release/v1.3.Source: 707849a · automation run
Any related issues, documentation, discussions?
Backport of #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.