From a375cb8515983a6c3968d38750db37893f75dbd6 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Fri, 4 Dec 2026 04:14:39 +0100 Subject: [PATCH] =?UTF-8?q?Answer=20stability=20round=201:=201=20?= =?UTF-8?q?=F0=9F=94=B4,=201=20=F0=9F=9F=A1=20(0=20misread);=20ignore=20wh?= =?UTF-8?q?at=20the=20trial=20and=20presentation=20tools=20write,=20and=20?= =?UTF-8?q?drop=20the=20test=20that=20repeats=20another?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 9 +++++++-- bin/repo_checks/test_gitignore.py | 15 +++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 50ac1cb0..dc63c101 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,10 @@ -# What the repo's own tools generate: Python bytecode, and the clones, reports, -# logs and rulings a workflow-bench run leaves in its folder. +# What the repo's own tools generate: the runs of workflow-bench and +# reviewer-merge-trials, and the presentation's PDF. __pycache__/ +presentation/build-release-explained.pdf +reviewer-merge-trials/agents-*.json +reviewer-merge-trials/clones/ +reviewer-merge-trials/results/ +reviewer-merge-trials/runs.pkl workflow-bench/*-[0-9]*.md workflow-bench/*/ diff --git a/bin/repo_checks/test_gitignore.py b/bin/repo_checks/test_gitignore.py index 8d30d549..a4f89c47 100644 --- a/bin/repo_checks/test_gitignore.py +++ b/bin/repo_checks/test_gitignore.py @@ -10,19 +10,17 @@ from repo_checks import ROOT GENERATED = [ "bin/__pycache__/a.cpython-313.pyc", "bin/agent_cycle/__pycache__/a.cpython-313.pyc", + "presentation/build-release-explained.pdf", + "reviewer-merge-trials/agents-wave3.json", + "reviewer-merge-trials/clones/rm-a/b.py", + "reviewer-merge-trials/results/a/b.json", + "reviewer-merge-trials/runs.pkl", "workflow-bench/a-1-1.md", "workflow-bench/a-1-1/README.md", "workflow-bench/compare/a/A1/fixes.diff", "workflow-bench/logs/a.jsonl", ] -AUTHORED = [ - "bin/agent_cycle/run.py", - "workflow-bench/advisor-judge-prompt.md", - "workflow-bench/bench.py", - "workflow-bench/setup.cfg", -] - class Gitignore(unittest.TestCase): def test_ignores_no_tracked_file(self): @@ -37,6 +35,3 @@ class Gitignore(unittest.TestCase): ignored = subprocess.run(["git", "check-ignore", "--no-index", "--stdin"], capture_output=True, cwd=ROOT, input="\n".join(GENERATED), text=True).stdout self.assertEqual(ignored.splitlines(), GENERATED) - def test_ignores_no_authored_file(self): - ignored = subprocess.run(["git", "check-ignore", "--no-index", "--stdin"], capture_output=True, cwd=ROOT, input="\n".join(AUTHORED), text=True).stdout - self.assertEqual(ignored, "")