testsAndMisc/python_pkg/code_tutor/tests
Krzysztof kuhy Rudnicki 277cb9fd6f Split the code_tutor challenge flows out of _challenge
_challenge.py 467 -> 236. The two flows and run_coding_challenge go to
_challenge_flows.py; the three static prompt strings to
_challenge_prompts.py, which covered the last eleven lines after the
first cut landed at 261.

The 13 patch strings in test_challenge_part3.py were repointed per test,
by which function is under test - the _run_user_impl tests keep
_challenge. Getting that wrong does not fail here, it HANGS: an
unintercepted _collect_and_rate_tests ran the real interactive flow and
spun the suite for two minutes. Runs are now under an explicit timeout,
and the patch targets are asserted to resolve before pytest starts.

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:42:50 +02:00
..
__init__.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
conftest.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
test_analyzer.py Make code_tutor OSError fingerprint test Python-version-robust 2026-07-11 00:22:57 +02:00
test_challenge_part2.py Split the code_tutor pytest runner and verdict streaming out 2026-08-16 17:33:58 +02:00
test_challenge_part3.py Split the code_tutor challenge flows out of _challenge 2026-08-16 17:42:50 +02:00
test_challenge.py Split the code_tutor pytest runner and verdict streaming out 2026-08-16 17:33:58 +02:00
test_cli.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
test_llm.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
test_plan_builder.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
test_progress.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
test_session.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
test_verifier.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00