WUT_Computer_Science/scripts
Krzysztof kuhy Rudnicki 42fa8228b0
Some checks failed
md-naming / markdown naming convention (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
runnability / runnability (push) Has been cancelled
Keep going past a broken target, and run what is already built
Four follow-ups to the previous commit, three of them cases where the new
runner still did the thing it was written to stop doing.

A build that was already up to date ran nothing. `make` says "up to date" on
the second invocation, no executable changes mtime, the before/after snapshot
diff is empty -- and the runner printed a line and stopped, which is exactly
the complaint that started this. It now falls back to running the executables
that are there. Proved with a scratch course whose makefile has a real file
target, because both make courses in this repo rebuild unconditionally and
neither can reach the branch.

One broken target aborted the rest. `run <dir> all` stopped at the first
failure under set -e, so ELAC's second document was never attempted. Failures
are collected per target and reported together at the end instead.

An index was ignored when a course had one target: `run ECOAR 5` silently ran
target 1. Selections are validated before the single-target shortcut now.

And "ECOAR has 1 targets" read like a bug in the tool.

That last fix then falsified a claim in TODO-refactor-remaining.md. It said
ELAC's projectA and AIS's report/final/ver1 "fail with latexmk exit 12" and
were broken documents. With build/ deleted first, both courses build every
document and exit 0. The exit 12 reproduced once against pre-existing build
state and never from clean; the note now says that, and says which part is
inference rather than re-verified, because the original failing state is gone.

All 44 probes still produce a byte-identical runnability-local.tsv.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172dj34FDpao6wsix8ZuCzE
2026-08-29 11:04:09 +02:00
..
check_ignore_consistency.sh Gate the invariants, fix ECOTE's unrunnable tests, contain build output 2026-08-28 18:43:13 +02:00
check_md_naming.sh Add pre-commit and fix everything it found 2026-08-28 18:21:22 +02:00
check_no_binaries.sh Add the no-binaries gate with a path-scoped allowlist 2026-08-28 17:37:53 +02:00
check_no_suppressions.sh Gate the zero, and fix the LaTeX course the run guard exposed 2026-08-29 08:41:34 +02:00
check_refactor_safety.py PORR runs in 28s, and three checks so the next pass cannot repeat my mistakes 2026-08-28 20:50:46 +02:00
course_exec.sh Keep going past a broken target, and run what is already built 2026-08-29 11:04:09 +02:00
course_lib.sh Keep going past a broken target, and run what is already built 2026-08-29 11:04:09 +02:00
course_probe.sh Say which jupyter problem it is, and regenerate the status table 2026-08-29 08:44:02 +02:00
course_run.sh run.sh runs the program now, and says which one it is running 2026-08-29 11:00:46 +02:00
course_targets.sh Keep going past a broken target, and run what is already built 2026-08-29 11:04:09 +02:00
split_tex_sections.py Split 19 over-cap LaTeX reports, proving each PDF is unchanged 2026-08-28 19:47:12 +02:00
tex_fingerprint.sh Split 19 over-cap LaTeX reports, proving each PDF is unchanged 2026-08-28 19:47:12 +02:00