Skip to content

Remove seed-config-legacy rule - #186

Open
anandhu-eng wants to merge 1 commit into
mainfrom
fix/remove-seed-config-legacy
Open

anandhu-eng wants to merge 1 commit into
mainfrom
fix/remove-seed-config-legacy

Conversation

@anandhu-eng

Copy link
Copy Markdown
Collaborator

Fixes #163

A point with no seed_set is already an error from point-disclosure-complete. The seed-config-legacy rule then added a second result: a warning if the seeds were 42, an error otherwise. The warning made 42 look like an accepted fallback. The rules (§4.6, §9.1) have no fallback: every point must record a published seed set.

Changes:

  • Remove the seed-config-legacy check, its messages, and its README row.
  • Add a test: a point with no seed_set gets one disclosure error and no seed-value check, for seed 42 and for any other value.

The verdict does not change. Such a point was rejected before and is still rejected.

🤖 Generated with Claude Code

A point with no seed_set is already rejected by point-disclosure-complete.
The legacy rule added a warning when the seeds were 42, which read as if
42 were a valid fallback. §4.6 and §9.1 have no such fallback.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues were identified for the change removing the legacy seed-value rule.

No open issues 🎉

What changed in this PR

Removes the legacy seed-value rule so points without a seed_set rely on the existing disclosure error, without suggesting that seed 42 is an accepted fallback. Such points remain rejected.

Changes:

  • Removes the legacy validator and its messages.
  • Adds regression coverage for missing seed_set with seeds 42 and 7.
  • Removes the obsolete rule from the README.
File Description
tests/​submission_checker/​test_checks_file.py Verifies one disclosure error and no seed-value checks when seed_set is missing.
src/​submission_checker/​models/​file/​point_config.py Removes the legacy seed validator.
src/​submission_checker/​data/​messages.yaml Removes legacy seed error and warning messages.
README.md Removes the legacy rule’s documentation row.

Review effort: Balanced

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

seed-config-legacy: no-seed_set points pass with a warning when seeds are 42, while §4.6 requires a recorded bound set

2 participants