Download tempscripts/injection_sandbox/verify_trie.py from tkhersoft/synthdatasets: direct link, hf CLI and curl.
- Browser
- Download file 687 Bytes
-
https://huggingface.co/datasets/tkhersoft/synthdatasets/resolve/main/tempscripts/injection_sandbox/verify_trie.py
- Command line
-
hf download hf://datasets/tkhersoft/synthdatasets/tempscripts/injection_sandbox/verify_trie.py
-
curl -L -o verify_trie.py https://huggingface.co/datasets/tkhersoft/synthdatasets/resolve/main/tempscripts/injection_sandbox/verify_trie.py
687 Bytes
| """SANDBOX trie re-confirmation: rebuild the n100 trie WITHOUT and WITH the | |
| temp merged injections and report the 5 fix targets + LEAVE spine. Points the | |
| verifier's STAGING at temp/out/_staging_merged_injections.jsonl. Read-only. | |
| Run from repo root: python -u temp/injection_sandbox/verify_trie.py | |
| """ | |
| from __future__ import annotations | |
| import sys | |
| from pathlib import Path | |
| ROOT = Path(__file__).resolve().parents[2] | |
| sys.path.insert(0, str(ROOT)) | |
| sys.path.insert(0, str(ROOT / "systemUpgrade")) | |
| import scripts._verify_injection as V # noqa: E402 | |
| V.STAGING = Path(__file__).resolve().parent / "out" / "_staging_merged_injections.jsonl" | |
| raise SystemExit(V.main()) | |