Skip to content

chore(efficacy): drop scoring environments once read, and trees once archived - #102

Merged
braboj merged 2 commits into
mainfrom
chore/drop-scoring-leftovers
Nov 1, 2026
Merged

braboj merged 2 commits into
mainfrom
chore/drop-scoring-leftovers

Conversation

@braboj

@braboj braboj commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Scoring no longer keeps each trial's environment, and an archived round no longer keeps its extracted trees.
Round 5c's scoring area held 26.5 GB; 21.8 GB was environments nothing reads again.

Where What goes When
score.py scoring/<trial>/venv (build and change) once the trial's scores are read
security.py security/<trial>/venv once its reading is done, installed or not
archive.py scoring*/<trial>/tree, and any venv left after the archive is verified and stamped
ch. 2, 5, 7 the sizing and layout rows —
before: round 5c's scoring area   26.5 GB
after:  about 5 GB while scoring, and the trees gone once archived
  • The tree stays until archive: the judge and the security reading read it.
  • The stamp covers only scores, judgings and records, so it still holds after the drop.

New self-test checks:

  • a scored trial's environment is dropped
  • a reading's environment is gone once it is read (fails without the fix)
  • an archived round drops its trees and environments
  • its readings stand, so the stamp still holds

Self-tests: score.py 72/72, security.py 30/30, archive.py 21/21, pyflakes clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DpT5xQeiWaKvHqQNHTU1uJ

braboj and others added 2 commits November 1, 2026 13:43
…archived

Round 5c's scoring area held 26.5 GB, 21.8 GB of it per-trial environments
nothing reads after scoring. The scorer and the security reading now delete
each environment once its scores are read, and archive.py deletes the
extracted trees once a round is archived and verified.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DpT5xQeiWaKvHqQNHTU1uJ
…ing on

The drop after the archive would delete trees and environments a live score,
security or judge run is reading. archive.py now refuses while any of their
claims on the scoring area names a live run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DpT5xQeiWaKvHqQNHTU1uJ
@braboj

braboj commented Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

Codex review, round 1 (gpt-6-astra, effort high): 1 finding, fixed in 98b70e3.

# Severity Finding What became of it
1 P2 Archiving during a live score, security or judge run could delete the trees and environments it is reading Fixed: archive.py refuses while any of their .running claims names a live run
  • new checks: a live score.py, security.py or judge.py run refuses the archive (all three fail without the fix)

Self-tests: archive.py 24/24, pyflakes clean.

@braboj

braboj commented Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

Codex review, round 2: 1 finding, answered as by design.

# Severity Finding What became of it
1 P2 A score, security or judge run that starts after the archive's live-run check could lose its trees to the drop By design: the archive is the round's last step, run once scoring, reading and judging are done. The one-time check catches a run left going; locking all four tools against each other is more machinery than the case needs

@braboj

braboj commented Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

Codex review, round 3: nothing new. It repeats round 2's finding (a run started after the archive's check), already answered above as by design. The loop ends here; ready for the owner's approval.

@braboj
braboj merged commit c6f92b5 into main Nov 1, 2026
2 checks passed
@braboj
braboj deleted the chore/drop-scoring-leftovers branch November 1, 2026 12:04
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