Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-train/blob/main/tests/omegese45/eval/check_fixture.py # aien-train AIEN training programme: language-model history, GB10 constraints and the route to training on the project engine. Plans and runnable checks are distinguished. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-train / tests / omegese45 / eval / check_fixture.py` 20 lines ยท 826 bytes Raw Blame History 1 #!/usr/bin/env python3 2 """Test-only invocation: substitute public test keys before checking synthetic cases. 3 4 Production check-demo has no override mechanism. This test shim loads its real 5 entry point (including mutated copies), replaces only the key constants with 6 public test keys, and runs main. Never use this shim for real demo receipts. 7 """ 8 import importlib.machinery 9 import importlib.util 10 import os 11 import sys 12 13 sys.path.insert(0, os.path.dirname(sys.argv[1])) 14 loader = importlib.machinery.SourceFileLoader("fixture_checker", sys.argv[1]) 15 spec = importlib.util.spec_from_loader(loader.name, loader) 16 checker = importlib.util.module_from_spec(spec) 17 loader.exec_module(checker) 18 import mkcase 19 checker.EXPECTED_KEYS = {k: mkcase.pub(v) for k, v in mkcase.TEST_KEYS.items()} 20 sys.exit(checker.main([sys.argv[1], sys.argv[2]]))