Skip to content

fix(rejudge): preserve the pre-re-judge record outside the published tree - #22

Merged
pradeepvrd merged 1 commit into
integrationfrom
fix/rejudge-backup-prefix
Sep 9, 2026
Merged

fix(rejudge): preserve the pre-re-judge record outside the published tree#22
pradeepvrd merged 1 commit into
integrationfrom
fix/rejudge-backup-prefix

Conversation

@pradeepvrd

Copy link
Copy Markdown
Owner

Writing the backup beside results.json left a fourth file in each run directory, so anything syncing the corpus also shipped superseded scores next to the corrected ones.

The pre-re-judge record now lands in a sibling tree mirroring the corpus layout — <backup-root>/<combo>/<task>/<run_id>/results.json — so a path in either tree names the same run, the published tree keeps exactly its three artifacts, and the correction stays auditable. --backup-root overrides the location.

Verified the default resolves to the sibling prefix for a corpus-shaped run path, and that a custom root is honoured. Ruff clean.

…tree

Writing the backup beside results.json left a fourth file in each run
directory, so a consumer syncing the corpus also shipped superseded scores. It
now lands in a sibling tree mirroring the corpus layout, overridable with
--backup-root.
@pradeepvrd
pradeepvrd merged commit 0d10be8 into integration Sep 9, 2026
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