testsAndMisc/python_pkg/code_tutor
Krzysztof kuhy Rudnicki 40a4eaf5b5 Split the code_tutor pytest runner and verdict streaming out
_challenge_support.py 402 -> 237. _pytest_clean and _patch_and_test go
to _pytest_runner.py with the subprocess/os/sys imports they solely used;
_stream_verdict and _parse_verdict go to _verdict.py with rich's Live.

code_tutor patches by absolute string rather than a MOD constant, so the
seam cost 15 per-name rewrites instead of one sed. Two intermediate
failures caught by running it: the test modules import the moved names
directly, and five patch strings still named the old module.

Pass count is 216 before and after.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011w2Pj4Ek3ZNMQVYcFHgXDY
2026-08-16 17:33:58 +02:00
..
tests Split the code_tutor pytest runner and verdict streaming out 2026-08-16 17:33:58 +02:00
__init__.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
_analyzer.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
_challenge_support.py Split the code_tutor pytest runner and verdict streaming out 2026-08-16 17:33:58 +02:00
_challenge.py Split the code_tutor pytest runner and verdict streaming out 2026-08-16 17:33:58 +02:00
_llm.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
_plan_builder.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
_progress.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
_pytest_runner.py Split the code_tutor pytest runner and verdict streaming out 2026-08-16 17:33:58 +02:00
_session.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
_verdict.py Split the code_tutor pytest runner and verdict streaming out 2026-08-16 17:33:58 +02:00
_verifier.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
cli.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00