Repository navigation
Commit cbaacc7
Fix ModuleNotFoundError: swarm_agents at eval import time
The CT2038 CPU smoke test runs `python records/.../train_gpt.py` from
the repo root, which leaves the submission directory off sys.path and
causes `from swarm_agents import BackoffNgramMixer` to fail. The sibling
swarm_agents.py is already shipped in the submission folder; this patch
just prepends the script's own directory to sys.path so it resolves
regardless of eval-harness CWD.
Verified: py_compile OK on Python 3.10.11, runtime import succeeds when
executed from repo root.
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>1 parent 0befb07 commit cbaacc7
1 file changed
Lines changed: 4 additions & 0 deletions
File tree
- records/track_10min_16mb/2026-03-29_SwarmDesigned_CausalBackoffNgramMixer_0.4027
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| |||
0 commit comments