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:
@@ -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