autoresearch-quantum/scripts
saymrwulf 5d0c28f939 Harden teaching layer, add notebook execution tests, fix repo hygiene
Quality fixes:
- Add deprecation warnings to 5 silent no-op legacy wrappers in assess.py
- Remove dead code in tracker.py score_by_section (unused first loop)
- Remove unused variable in assess.py _check_order
- Fix .gitignore: add progress JSONs, checkpoints, .coverage, .DS_Store, LaTeX aux
- Fix "all three plans" → "all four plans" in learning_objectives.md
- Add teaching/ package to README project tree
- Add compendium to README paper tree

Testing:
- Add 43 unit tests for teaching/assess.py and tracker.py (quiz, predict_choice,
  reflect, order, checkpoint_summary, legacy wrapper deprecation warnings,
  tracker scoring, persistence, mastery calculation)
- Add notebook execution test suite (nbclient): all 11 notebooks execute without
  errors in a fresh kernel, structural validation (valid JSON, has code cells,
  has assessments, section parameters, learning objectives document)
- Overall test count: 185 passing (was 107), coverage: 85% (was ~25% in tests)

Toolchain:
- Add pytest-cov, ruff, nbclient, nbformat to dev dependencies
- Add ruff config (E, F, W, I, UP, B, SIM rules)
- Add coverage config with term-missing output
- Fix all ruff lint issues across src/ and tests/ (import sorting, unused imports)
- Fix Plan D notebook paths (configs/rungs → ../../configs/rungs)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-15 15:34:37 +02:00
..
build_plan_d.py Harden teaching layer, add notebook execution tests, fix repo hygiene 2026-04-15 15:34:37 +02:00
enhance_dashboard.py Add teaching notebooks, widget-based quizzes, bug fixes, and expanded tests 2026-04-07 17:14:37 +02:00
enhance_nb01.py Add teaching notebooks, widget-based quizzes, bug fixes, and expanded tests 2026-04-07 17:14:37 +02:00
enhance_nb02.py Add teaching notebooks, widget-based quizzes, bug fixes, and expanded tests 2026-04-07 17:14:37 +02:00
enhance_nb03.py Add teaching notebooks, widget-based quizzes, bug fixes, and expanded tests 2026-04-07 17:14:37 +02:00
enhance_spiral.py Add teaching notebooks, widget-based quizzes, bug fixes, and expanded tests 2026-04-07 17:14:37 +02:00
enhance_track_a.py Add teaching notebooks, widget-based quizzes, bug fixes, and expanded tests 2026-04-07 17:14:37 +02:00
enhance_track_b.py Add teaching notebooks, widget-based quizzes, bug fixes, and expanded tests 2026-04-07 17:14:37 +02:00
enhance_track_c.py Add teaching notebooks, widget-based quizzes, bug fixes, and expanded tests 2026-04-07 17:14:37 +02:00
fix_math_in_explanations.py Add teaching notebooks, widget-based quizzes, bug fixes, and expanded tests 2026-04-07 17:14:37 +02:00
rebuild_nb01.py Add teaching notebooks, widget-based quizzes, bug fixes, and expanded tests 2026-04-07 17:14:37 +02:00
strip_teaching_cells.py Add teaching notebooks, widget-based quizzes, bug fixes, and expanded tests 2026-04-07 17:14:37 +02:00