testsAndMisc/docs/superpowers/contracts/sql-drills-harness-2026-11-01.json
Krzysztof kuhy Rudnicki ee78ae44cc
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (mypy, mypy) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (pylint, pylint) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (rest, ) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (shellcheck, shellcheck) (push) Waiting to run
Python tests / test (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
Shell tests / shell-tests (push) Waiting to run
Shell tests / lib-tests (push) Waiting to run
Shell tests / arch-tests (push) Waiting to run
Add sql_drills MySQL exact-match harness
Docker mysql:8.0.33 container, judge-style output grading, 12 original drills with live-verified references kept in tests only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWZewj4WS5X6AZyjWDp
2026-11-01 21:13:18 +01:00

16 lines
984 B
JSON

{
"title": "sql_drills: MySQL 8.0.33 exact-output practice harness",
"objective": "A CLI grades a SQL file against an original drill on a pinned mysql:8.0.33 container by exact judge-style output match, with 12 drills ordered by priority.",
"acceptance_criteria": [
"start/stop/list/show/check work; check exits 0 pass, 1 mismatch (line diff), 2 SQL or engine error",
"Normaliser and diff are unit-tested without Docker; package coverage is 100% branch",
"Every drill's reference solution (tests/solutions only) reproduces expected.txt on live MySQL; those tests skip when the container is down",
"show and check never print reference SQL"
],
"out_of_scope": [
"Bumping the pinned image version",
"python_pkg/app_icons and AGENTS.md changes already in the working tree"
],
"verifier": "python3 -m python_pkg.sql_drills start; ~/.claude/scripts/capped.sh python3 -m pytest -q -o addopts='--strict-markers --strict-config' python_pkg/sql_drills"
}