Skip to content

Report the scaling factor when the RCP check fails - #487

Open
matthew-frank wants to merge 1 commit into
mlcommons:masterfrom
matthew-frank:matthew-frank/rcp-print-failed-scaling-factor
Open

matthew-frank wants to merge 1 commit into
mlcommons:masterfrom
matthew-frank:matthew-frank/rcp-print-failed-scaling-factor

Conversation

@matthew-frank

Copy link
Copy Markdown
Contributor

When a result fails the RCP check (converges faster than the RCP min), no scaling.json is written, so there is no record of the factor the score would have been normalized by. That makes it hard to review results that fail the check, especially ones that go through with rcp-bypass.

This change logs that factor as a warning in the fail branch of _eval_submission_record, for example:

WARNING -  RCP check failed. Had it passed, score would be normalized by factor of 301056.0 / 279552.0000 = 1.0769

Because it is in the RCP checker itself, the message appears wherever the check runs: the rcp_checker CLI, the package checker (including results that pass via rcp-bypass), the result summarizer, and compute_score. It is logged at warning level because the result summarizer and compute_score do not configure logging, so info messages would not be shown there.

No files are written and no pass/fail behavior changes. Failures where no RCP comparison happens (e.g. missing RCP above the largest batch size) are unaffected, since no factor exists for them.

🤖 Generated with Claude Code

A failed RCP check writes no scaling.json, so the factor the score would
have been normalized by was never shown. Log it as a warning in the fail
branch of _eval_submission_record, so it appears wherever the check runs:
the rcp_checker CLI, the package checker (including results that pass via
rcp-bypass), the result summarizer, and compute_score.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@matthew-frank
matthew-frank requested review from a team as code owners October 29, 2026 15:59
@github-actions

Copy link
Copy Markdown

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

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.

1 participant