testsAndMisc/python_pkg/sql_drills
Krzysztof kuhy Rudnicki e2bccc4b3c
Some checks failed
dependency freshness / dependencies on newest stable (push) Has been cancelled
md-naming / markdown naming convention (push) Has been cancelled
Pre-commit checks / pre-commit (${{ matrix.group }}) (mypy, mypy) (push) Has been cancelled
Pre-commit checks / pre-commit (${{ matrix.group }}) (pylint, pylint) (push) Has been cancelled
Pre-commit checks / pre-commit (${{ matrix.group }}) (rest, ) (push) Has been cancelled
Pre-commit checks / pre-commit (${{ matrix.group }}) (shellcheck, shellcheck) (push) Has been cancelled
Python tests / test (push) Has been cancelled
repo-contract / repo contract (push) Has been cancelled
Shell tests / shell-tests (push) Has been cancelled
Shell tests / lib-tests (push) Has been cancelled
Shell tests / arch-tests (push) Has been cancelled
sql_drills: thin wrapper over utils package
Engine, fixtures and reference solutions moved to kuhyx/utils
sql_drills (tag sql-drills-v0.1.0); the CLI keeps its commands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWYGW5NZL5uVpnqmNKo
2026-11-02 13:57:47 +01:00
..
tests sql_drills: thin wrapper over utils package 2026-11-02 13:57:47 +01:00
__init__.py Add sql_drills MySQL exact-match harness 2026-11-01 21:13:18 +01:00
__main__.py sql_drills: thin wrapper over utils package 2026-11-02 13:57:47 +01:00
README.md sql_drills: thin wrapper over utils package 2026-11-02 13:57:47 +01:00

sql_drills

CLI over the shared sql_drills package (kuhyx/utils, tag sql-drills-v0.1.0): drills, fixtures, reference solutions and grading rules live there.

python3 -m python_pkg.sql_drills start               # container + wait (<60 s)
python3 -m python_pkg.sql_drills list                # ids and titles
python3 -m python_pkg.sql_drills show 01             # task, schema, output sample
python3 -m python_pkg.sql_drills check 01 my.sql     # grade my.sql (exit 0 = pass)
python3 -m python_pkg.sql_drills stop                # remove the container