main (scripts/judge_variance.py)¶
Overview · 8 steps, 2 lanes
All 8 steps
| # | caller | callee | what it does | frames | call site |
|---|---|---|---|---|---|
| 1 | main | cmd_sample | Choose a stratified sample and write the manifest. | if (line 297) | scripts/judge_variance.py:297 |
| 2 | cmd_sample | _candidates | Every ruled verdict decision in a run, paired with its answer prose. | — | scripts/judge_variance.py:114 |
| 3 | main | cmd_run | Re-judge every sampled pair k times, appending as results land. | if (line 299) | scripts/judge_variance.py:299 |
| 4 | cmd_run | ask | Version 3 takes sample , so the samples of one vote are cached as distinct calls. | — | scripts/judge_variance.py:190 |
| 5 | cmd_run | anonymise | Strip arm, model and run identity from an answer before judging. | — | scripts/judge_variance.py:191 |
| 6 | cmd_run | verdict_prompt | Build the per-mark verdict prompt. | — | scripts/judge_variance.py:191 |
| 7 | cmd_run | read_verdict | Pull the verdict token out of a judge reply. | — | scripts/judge_variance.py:193 |
| 8 | main | cmd_report | Report the flip rate, split by mark kind, errors separate. | — | scripts/judge_variance.py:300 |
Functions¶
9 functions
anonymiseacceptance/grader/judge.pyaskacceptance/grader/judge.pyread_verdictacceptance/grader/judge.pyverdict_promptacceptance/grader/judge.py_candidatesscripts/judge_variance.pycmd_reportscripts/judge_variance.pycmd_runscripts/judge_variance.pycmd_samplescripts/judge_variance.pymainscripts/judge_variance.py
This diagram as Mermaid · PlantUML · Graphviz DOT
Quick views¶
9 functions, each with its quick view
- anonymise
Strip arm, model and run identity from an answer before judging.
Map
Show it on the map, in its block's wedge.
Block
Acceptance: measuring clew is the block holding
acceptance/grader/judge.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- ask
Version 3 takes sample , so the samples of one vote are cached as distinct calls.
Map
Show it on the map, in its block's wedge.
Block
Acceptance: measuring clew is the block holding
acceptance/grader/judge.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- read_verdict
Pull the verdict token out of a judge reply.
Map
Show it on the map, in its block's wedge.
Block
Acceptance: measuring clew is the block holding
acceptance/grader/judge.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- verdict_prompt
Build the per-mark verdict prompt.
Map
Show it on the map, in its block's wedge.
Block
Acceptance: measuring clew is the block holding
acceptance/grader/judge.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _candidates
Every ruled verdict decision in a run, paired with its answer prose.
Map
Show it on the map, in its block's wedge.
Block
Tooling: scripts is the block holding
scripts/judge_variance.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- cmd_report
Report the flip rate, split by mark kind, errors separate.
Map
Show it on the map, in its block's wedge.
Block
Tooling: scripts is the block holding
scripts/judge_variance.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- cmd_run
Re-judge every sampled pair k times, appending as results land.
Map
Show it on the map, in its block's wedge.
Block
Tooling: scripts is the block holding
scripts/judge_variance.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- cmd_sample
Choose a stratified sample and write the manifest.
Map
Show it on the map, in its block's wedge.
Block
Tooling: scripts is the block holding
scripts/judge_variance.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- main
CLI entry point.
Map
Show it on the map, in its block's wedge.
Block
Tooling: scripts is the block holding
scripts/judge_variance.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.