Skip to content

fix(leaderboard): report rejected uploads as failed smoke checks - #220

Merged
vincentkoc merged 1 commit into
mainfrom
fix/space-upload-smoke-exit
Nov 24, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/space-upload-smoke-exit

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

Summary

The Security Signals Space printed a validation error for an incomplete upload but still exited successfully. A script using the smoke command could accept a file that the preview had rejected.

The smoke command now exits 1 when validation returns no score. A scored upload and the display-only smoke still exit 0. The Space tests also run in ordinary CI.

Scope

  • Space smoke CLI, its offline tests, and usage notes.

Security / Trust Impact

The change reports the existing preview verdict to the shell. It does not publish a result or change scoring, the Gradio upload callback, or official submission validation.

Verification

  • The new subprocess test failed on the previous implementation with exit 0 after a missing-ID diagnostic. All three Space tests pass with python3 -B -m unittest discover -s leaderboard/space -v.
  • A complete 3,368-case submission with F1 0 exited 0. Removing its last row printed the missing ID and exited 1. A display-only smoke exited 0.
  • Ran scripts/validate-security-signals-submissions.sh on both tracked submissions against a local replay of the checked-in holdout. All nine Space metrics matched the official score for each submission.
  • actionlint .github/workflows/ci.yml passed.
  • Structured P0–P3 review reported no actionable findings.

@clawsweeper

clawsweeper Bot commented Nov 24, 2026

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@vincentkoc
vincentkoc marked this pull request as ready for review November 24, 2026 10:01
@vincentkoc
vincentkoc requested review from a team and Patrick-Erichsen as code owners November 24, 2026 10:01
@vincentkoc
vincentkoc merged commit 8bc20e0 into main Nov 24, 2026
11 checks passed
@vincentkoc
vincentkoc deleted the fix/space-upload-smoke-exit branch November 24, 2026 10:03
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