Answer stability round 1: 1 🔴, 1 🟡 (0 misread); ignore what the trial and presentation tools write, and drop the test that repeats another
This commit is contained in:
+7
-2
@@ -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/*/
|
||||
|
||||
@@ -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, "")
|
||||
|
||||
Reference in New Issue
Block a user