autoresearch-quantum/tests
saymrwulf 29caba3a1a Add professional toolchain: mypy strict, CI pipeline, Playwright UX tests, pedagogy validation
Infrastructure:
- Configure mypy strict mode in pyproject.toml; fix all 53 type errors across 8 source files
- Add .pre-commit-config.yaml (ruff, mypy, nbstripout, trailing whitespace)
- Add .github/workflows/ci.yml: lint + type check, unit tests (Python 3.11/3.12), notebook execution
- Add scripts/app.sh consumer lifecycle manager (bootstrap, start, stop, status, validate, logs, reset)

Testing:
- Add tests/test_browser_ux.py: Playwright end-to-end UX tests covering JupyterLab launch,
  notebook rendering, navigation links, widget rendering, and full consumer walkthrough
- Add tests/test_pedagogy.py: 130 pedagogical structure tests validating prose quality
  (word counts, markdown ratio), section structure, assessment density and variety,
  Bloom's taxonomy coverage, checkpoint presence, tracker integration, key insight
  callouts, and cross-plan concept consistency

Quality:
- Fix ruff E741 (ambiguous variable name) across all builder scripts
- Add Key Insight callouts to plan_a/01_encoded_magic_state.ipynb
- Add pytest 'browser' marker for selective UX test runs
- Expand .gitignore with .logs/ and build artifacts

319 tests pass, 85% coverage, mypy strict clean, ruff clean.
2026-04-15 20:00:19 +02:00
..
test_analysis.py Harden teaching layer, add notebook execution tests, fix repo hygiene 2026-04-15 15:34:37 +02:00
test_browser_ux.py Add professional toolchain: mypy strict, CI pipeline, Playwright UX tests, pedagogy validation 2026-04-15 20:00:19 +02:00
test_cli.py Harden teaching layer, add notebook execution tests, fix repo hygiene 2026-04-15 15:34:37 +02:00
test_codes.py Harden teaching layer, add notebook execution tests, fix repo hygiene 2026-04-15 15:34:37 +02:00
test_config.py Add teaching notebooks, widget-based quizzes, bug fixes, and expanded tests 2026-04-07 17:14:37 +02:00
test_experiments.py Add teaching notebooks, widget-based quizzes, bug fixes, and expanded tests 2026-04-07 17:14:37 +02:00
test_feedback.py Harden teaching layer, add notebook execution tests, fix repo hygiene 2026-04-15 15:34:37 +02:00
test_harness.py Harden teaching layer, add notebook execution tests, fix repo hygiene 2026-04-15 15:34:37 +02:00
test_notebooks.py Add foolproof course navigation: central entry point and inter-notebook links 2026-04-15 19:25:39 +02:00
test_pedagogy.py Add professional toolchain: mypy strict, CI pipeline, Playwright UX tests, pedagogy validation 2026-04-15 20:00:19 +02:00
test_persistence.py Add teaching notebooks, widget-based quizzes, bug fixes, and expanded tests 2026-04-07 17:14:37 +02:00
test_scoring.py Harden teaching layer, add notebook execution tests, fix repo hygiene 2026-04-15 15:34:37 +02:00
test_teaching.py Harden teaching layer, add notebook execution tests, fix repo hygiene 2026-04-15 15:34:37 +02:00