Write a minimal, consistent repository below root.
The repository holds the package samplepkg (subpackages core and app), the unit samplepkg.core.calc with one intent item, one decision, the marked evaluation file tests/test_regen_eval_calc.py and the page docs/guide.qmd. Every dependent of the unit is declared, so spotregen check is clean. Existing files with the same names are overwritten.
The resolved repository root, ready for spotregen.load_spec.
Examples
from pathlib import Pathfrom tempfile import TemporaryDirectoryfrom spotregen import load_spec, make_sample_repo, run_checkswith TemporaryDirectory() as tmp: root = make_sample_repo(Path(tmp) /"demo")print(sorted(p.name for p in (root /"regen").iterdir()))print(run_checks(load_spec(root)))