Skip to content

characterization: the seed finds the vote-fixture helper before it is imported - #3146

Merged
colinmegill merged 1 commit into
edgefrom
rerecord-seed-path
Oct 18, 2026
Merged

colinmegill merged 1 commit into
edgefrom
rerecord-seed-path

Conversation

@colinmegill

Copy link
Copy Markdown
Member

Test harness only; no product change.

The characterization re-record workflow (characterization-rerecord.yml) has not completed since 2026-09-11. Its first break: server/characterization/seed-pca2.py imports the vote-fixture helper (delphi/tests/vote_fixtures.py) at load time, but the path that provides it was only added once semantic_votes() ran, so the math-seed container failed with ModuleNotFoundError: No module named 'vote_fixtures' (run 39128089403, record stage). The seed now adds delphi/tests to the path next to delphi, the way the other callers do. Votes still go through seed_vote/read_vote; the sign lint is clean with no new allowlist entry.

Verified on a work box: the seed stage completes. The record stage then stops on a second, separate break (the route inventory predates PR #3080, PR #3072 and the ops routes, and its ids are positional); that is its own change.

🤖 Generated with Claude Code

https://claude.ai/code/session_018NVGBuYCk4EZmiz4csUv9s

…importing the fixture vote helper

The re-record job's math-seed service failed before writing anything:
seed-pca2.py imports vote_fixtures at module level, on the assumption
that pca2_votes had already put delphi/tests on sys.path. pca2_votes only
adds it lazily, the first time semantic_votes() runs, so in the math-seed
container the import raised ModuleNotFoundError: No module named
'vote_fixtures'.

The seed now adds delphi/tests next to delphi itself, as the other
callers of the helper do (ci/vote_convention/fixtures.py,
ci/probe_box/local/pipeline_seed.py). The compose mount already provides
the directory at /repo/delphi/tests. Votes are still drawn by meaning and
stored through seed_vote/read_vote at the database's convention; no sign
literal is added and nothing that is recorded changes.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018NVGBuYCk4EZmiz4csUv9s
@colinmegill
colinmegill merged commit 6942757 into edge Oct 18, 2026
22 checks passed
@colinmegill
colinmegill deleted the rerecord-seed-path branch October 18, 2026 19:13
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