fix(lilith): exam adapter args have no enable_thinking; read it tolerantly #563

Merged
toasterson merged 1 commit from fix/lilith-exam-enable-thinking into main 2026-10-06 20:12:18 +00:00
Owner

exam/run_acceptance.py builds the adapter arguments as a SimpleNamespace; PR #559 read args.enable_thinking unconditionally, and the run-4 acceptance crashed at the chat items after the candidate dojo arm (AttributeError: 'types.SimpleNamespace' object has no attribute 'enable_thinking'). getattr(args, "enable_thinking", None) keeps the server default for the exam, as in runs 1–3. Tests: dojo runner + exam suites green.

`exam/run_acceptance.py` builds the adapter arguments as a `SimpleNamespace`; PR #559 read `args.enable_thinking` unconditionally, and the run-4 acceptance crashed at the chat items after the candidate dojo arm (`AttributeError: 'types.SimpleNamespace' object has no attribute 'enable_thinking'`). `getattr(args, "enable_thinking", None)` keeps the server default for the exam, as in runs 1–3. Tests: dojo runner + exam suites green.
fix(lilith): exam adapter args have no enable_thinking; read it tolerantly
Some checks failed
CI / check-seshat (pull_request) Successful in 17m7s
CI / docker-sokard (pull_request) Successful in 14m32s
CI / test-akh-medu (pull_request) Failing after 26m22s
CI / docker-akh-transcripts (pull_request) Successful in 28m8s
CI / docker-seshd (pull_request) Successful in 41m11s
CI / publish-chart (pull_request) Successful in 35m32s
CI / test-sokar (pull_request) Successful in 1h22m12s
CI / check-akh-medu (pull_request) Successful in 1h16m26s
CI / test-session-platform (pull_request) Successful in 1h36m4s
CI / platform-images-home (pull_request) Has been skipped
CI / platform-images-core (pull_request) Has been skipped
CI / platform-images-daemons (pull_request) Has been skipped
CI / platform-images-fleet (pull_request) Has been skipped
CI / platform-images-collect (pull_request) Has been skipped
1dc198f6a0
run_acceptance builds the adapter arguments as a plain namespace; PR #559 read args.enable_thinking unconditionally and the run-4 acceptance crashed at the chat items after the candidate dojo arm. getattr with None keeps the server default there.
Author
Owner

Merging with CI / test-akh-medu red: that job is cargo test (Rust) and failed after 26 min on run 4041 job 4; this PR changes two Python lines in scripts/lilith/dojo/baseline.py and no Rust file. The same job passed on the previous main head (4d45b65c, PR #559). Local evidence: uv run --no-project --with pytest python -m pytest dojo/tests program/tests exam -q → 729 passed, 4 skipped. Reason for not waiting on a rerun: the run-4 acceptance resume is blocked on this fix and the pod is stopped to avoid idle spend (operator instruction 2026-10-06).

Merging with `CI / test-akh-medu` red: that job is `cargo test` (Rust) and failed after 26 min on run 4041 job 4; this PR changes two Python lines in `scripts/lilith/dojo/baseline.py` and no Rust file. The same job passed on the previous main head (`4d45b65c`, PR #559). Local evidence: `uv run --no-project --with pytest python -m pytest dojo/tests program/tests exam -q` → 729 passed, 4 skipped. Reason for not waiting on a rerun: the run-4 acceptance resume is blocked on this fix and the pod is stopped to avoid idle spend (operator instruction 2026-10-06).
Sign in to join this conversation.
No reviewers
No labels
follow-up
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
toasterson/akh-medu!563
No description provided.