Repository navigation
Conversation
The existing check reloads the artifact in the same process on the in-memory engine. The new test trains on DiskGraph, loads the artifact in a child interpreter, and infers over unseen rows on a new DiskGraph index. It covers the blueprint and the gapped layouts. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Change map
|
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Replace the new special-ID test with a PRAGMA contract that declares gapped explicit special-token IDs. In CONTRACTS, it runs the fresh-process reload on both engines, DiskGraph versus reference inference, serving and input-state inference with explicit IDs. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The function name says what it builds, and the PR description keeps the reason for the gapped IDs. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Summary
_explicit_id_contracttotests/test_inference_lifecycle.py. It is the existing PRAGMA contract with gapped explicit special-token IDs: pad 0, unknown 1, missing 2, mask 10, entity 11 and event 12.CONTRACTS, it runs 4 existing lifecycle tests with explicit IDs: the reload in a child process on both engines, DiskGraph versus reference inference, serving versus batch inference, and inference from the input state alone. Each test compares the fitted state or the batches of the two sides.tests/test_special_token_ids.pyalready checks the explicit numbering in one process.Change map
File-by-file change map
Testing Done
python -m pytest -q --require-imports tests/test_inference_lifecycle.py tests/test_special_token_ids.py: 73 passed, including the 7 newexplicit_idscases. The run used a DiskGraph wheel built locally frommainateb474553(Linux aarch64, Python 3.12, CPU torch 2.12.0).ruff checkandruff format --checkpass on the changed file.Checklist
🤖 Generated with Claude Code