Answer architecture round 1: 2 🔴, 13 🟡; test the replay's main and report, share one judge run and the archive format, pin the reference judge, route only replayed models, and say why the judge climbs
This commit is contained in:
@@ -8,10 +8,10 @@ import unittest
|
||||
|
||||
sys.path.insert(0, str(pathlib.Path(__file__).resolve().parents[1]))
|
||||
|
||||
from project_key import checkout_of, project_key
|
||||
from failure import Failure
|
||||
from transcript_archive import outcomes, read, write
|
||||
from transcript_archive.location import project_archive
|
||||
from project_key import project_key
|
||||
from utc_stamp import utc
|
||||
|
||||
NOW = 1790000000
|
||||
@@ -94,6 +94,12 @@ class Location(unittest.TestCase):
|
||||
self.assertEqual(project_archive("/h/code/log", home, {}), pathlib.Path("/h/.claude/loop-claude-transcripts/log"))
|
||||
self.assertEqual(project_archive("/h/code/log", home, {"LOOP_CLAUDE_TRANSCRIPTS": "/a"}), pathlib.Path("/a/log"))
|
||||
|
||||
def test_finds_the_checkout_a_key_names_under_code_or_else_under_the_root(self):
|
||||
with tempfile.TemporaryDirectory() as home:
|
||||
(pathlib.Path(home) / "code" / "log").mkdir(parents=True)
|
||||
self.assertEqual(checkout_of("log", pathlib.Path(home)), f"{home}/code/log")
|
||||
self.assertEqual(checkout_of("home/me/.claude", pathlib.Path(home)), "/home/me/.claude")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
||||
Reference in New Issue
Block a user