<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/docs/testing.md, branch codex/d3d12-uncapped-simulation</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=codex%2Fd3d12-uncapped-simulation</id>
<link rel='self' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=codex%2Fd3d12-uncapped-simulation'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/'/>
<updated>2026-12-02T04:19:44+00:00</updated>
<entry>
<title>scripts: red_green.py skips a folder it cannot list, stops with the tree put back on a __pycache__ it cannot remove, and four smaller fixes (review)</title>
<updated>2026-12-02T04:19:44+00:00</updated>
<author>
<name>TheGeogeo</name>
<email>57634077+TheGeogeo@users.noreply.github.com</email>
</author>
<published>2026-12-02T04:19:38+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=bf65aa4505aeccd8feb9bfca2c93a33d103747c8'/>
<id>urn:sha1:bf65aa4505aeccd8feb9bfca2c93a33d103747c8</id>
<content type='text'>
drop_bytecode skips a folder it may not list (Python cannot import from it either). A __pycache__ it cannot remove is now a usage error naming it (exit 2), and any such error during a run puts the tree back on the base, where before the undone hunk stayed. --mutate-timeout must also be finite. In a mutated run, a Python test stopped while running outweighs a cargo build that was stopped. job_of says once on stderr when it has no job object. docs/testing.md: one line rewrapped.
</content>
</entry>
<entry>
<title>docs/testing.md: red_green.py --mutate results include compiler crashed; one way to remove the worktree, default folder or --work-dir (review)</title>
<updated>2026-12-02T04:19:44+00:00</updated>
<author>
<name>TheGeogeo</name>
<email>57634077+TheGeogeo@users.noreply.github.com</email>
</author>
<published>2026-12-02T03:59:33+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=2051ccd0aadb43ef42aa3fe3cf7bd5a1d43fde1d'/>
<id>urn:sha1:2051ccd0aadb43ef42aa3fe3cf7bd5a1d43fde1d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>scripts: red_green.py reports a cargo run stopped before any test ran as timed out building, not caught (review)</title>
<updated>2026-12-02T04:19:44+00:00</updated>
<author>
<name>TheGeogeo</name>
<email>57634077+TheGeogeo@users.noreply.github.com</email>
</author>
<published>2026-12-02T03:57:39+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=fc0ce37ac47d4e0c57308bf24ced4a090ecbe1ea'/>
<id>urn:sha1:fc0ce37ac47d4e0c57308bf24ced4a090ecbe1ea</id>
<content type='text'>
A mutated cargo run that times out before its first Running line was still a build: it says nothing about the tests, so it is no longer counted as caught by timeout. A stub cargo that hangs in its build or in a test binary now covers the cargo timeout path, which no test reached before.
</content>
</entry>
<entry>
<title>scripts: red_green.py lists the hunks --mutate-max leaves out (review)</title>
<updated>2026-12-02T04:19:44+00:00</updated>
<author>
<name>TheGeogeo</name>
<email>57634077+TheGeogeo@users.noreply.github.com</email>
</author>
<published>2026-12-02T03:54:50+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=4a0aa701d04616e4b2024f90390f67b2ba576bac'/>
<id>urn:sha1:4a0aa701d04616e4b2024f90390f67b2ba576bac</id>
<content type='text'>
With more code hunks than --mutate-max, the report read as if every hunk was tried. The hunks left out are now in --json (mutations_skipped, file and line) and in the text (not tried, past --mutate-max).
</content>
</entry>
<entry>
<title>scripts: red_green.py starts each mutation from a commit of the green merge, reset and cleaned (review)</title>
<updated>2026-12-02T04:19:44+00:00</updated>
<author>
<name>TheGeogeo</name>
<email>57634077+TheGeogeo@users.noreply.github.com</email>
</author>
<published>2026-12-02T03:52:03+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=29712017c4c22eb61368504932e5844328b01868'/>
<id>urn:sha1:29712017c4c22eb61368504932e5844328b01868</id>
<content type='text'>
A put-back that applies did not prove the tree green again: a test that wrote into a tracked file changed the result of the next hunk. The green merge is now committed with the tool's identity before its tests run, and each mutation resets the tree to it and cleans it before undoing its hunk. A hunk can no longer fail to go back, so mutations_stopped and its test are gone; a test that dirties the tree now has its own.
</content>
</entry>
<entry>
<title>scripts: red_green.py stops what a mutated run leaves behind, so an orphan holding its output does not hold the run (review)</title>
<updated>2026-12-02T04:19:44+00:00</updated>
<author>
<name>TheGeogeo</name>
<email>57634077+TheGeogeo@users.noreply.github.com</email>
</author>
<published>2026-12-02T03:49:46+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=312bf7c892aab1838980385edb039d47ff1c00de'/>
<id>urn:sha1:312bf7c892aab1838980385edb039d47ff1c00de</id>
<content type='text'>
taskkill /T on a command that has already ended finds no tree: a child it left behind kept the output pipe open, the run waited for the timeout and a real caught read caught by timeout. A mutated run now writes its output to a temporary file and, on Windows, runs in a job object (kill on close) that its children join; once the command ends or times out, the job (the process group elsewhere) is stopped.
</content>
</entry>
<entry>
<title>docs/testing.md: red_green.py --work-dir leaves its worktree registered; git worktree remove &lt;dir&gt;/tree removes it (review)</title>
<updated>2026-12-02T04:19:44+00:00</updated>
<author>
<name>TheGeogeo</name>
<email>57634077+TheGeogeo@users.noreply.github.com</email>
</author>
<published>2026-12-02T03:12:01+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=3b3e5ee5dadd0e028d4d6a63186ea57830d0f4bf'/>
<id>urn:sha1:3b3e5ee5dadd0e028d4d6a63186ea57830d0f4bf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>scripts: red_green.py --mutate says when it stopped, why nothing was undone, and which added files it does not mutate (review)</title>
<updated>2026-12-02T04:19:44+00:00</updated>
<author>
<name>TheGeogeo</name>
<email>57634077+TheGeogeo@users.noreply.github.com</email>
</author>
<published>2026-12-02T03:11:01+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=89274bac6e991f404608a371c2cab614bb1475aa'/>
<id>urn:sha1:89274bac6e991f404608a371c2cab614bb1475aa</id>
<content type='text'>
A hunk that cannot be put back no longer drops the whole mutations section: the report and --json (mutations_stopped) name the hunk, the reason and how many hunks were not tried. With --mutate, mutations is always a list and mutations_not_run says why none was undone: nothing to undo (a test-only pull request), or no test went red then green. Files the pull request adds stay unmutated, and the report and --json (added_not_mutated) now list them. Verdicts and exit codes are unchanged.
</content>
</entry>
<entry>
<title>scripts: red_green.py --mutate-timeout stops a mutated run that hangs and reports it as caught by timeout (review)</title>
<updated>2026-12-02T04:19:44+00:00</updated>
<author>
<name>TheGeogeo</name>
<email>57634077+TheGeogeo@users.noreply.github.com</email>
</author>
<published>2026-12-02T03:07:04+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=745808fc3b3d4779e1165633775f7463fdb105be'/>
<id>urn:sha1:745808fc3b3d4779e1165633775f7463fdb105be</id>
<content type='text'>
Each command of a mutated run (cargo test, one Python test file) is stopped after --mutate-timeout seconds (600) together with the processes it started (taskkill /T on Windows, the process group elsewhere): a test binary or a process a test starts would otherwise keep the output pipe open. The hunk is then 'caught by timeout', apart from 'caught'. The red and green sides have no timeout, as before.
</content>
</entry>
<entry>
<title>scripts: red_green.py removes the work tree's __pycache__ before each Python run, so no test runs stale bytecode (review)</title>
<updated>2026-12-02T04:19:44+00:00</updated>
<author>
<name>TheGeogeo</name>
<email>57634077+TheGeogeo@users.noreply.github.com</email>
</author>
<published>2026-12-02T03:03:10+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=de6db4b7337a09e57f49f2f4d727521e3e6df811'/>
<id>urn:sha1:de6db4b7337a09e57f49f2f4d727521e3e6df811</id>
<content type='text'>
-B only stops writing bytecode. An ignored .pyc left in the work tree (git clean keeps it) ran instead of the reverted source: red passed and an undone hunk was not caught. -X pycache_prefix would cover the unittest process only, not the processes its tests start; removing the folders covers both.
</content>
</entry>
</feed>
