test(p3-3): pin LanceDB snapshot fixture from AVX-capable host
Replaces the placeholder run-1.json with the captured Vec<VectorHit> from `cargo test -p kb-store-vector --test snapshot -- --ignored` on an AVX2-capable VM (host-passthrough CPU model). Verified by re- running the same ignored lane and asserting against the pinned fixture. Full ignored lane on AVX hardware: - upsert_search.rs: 8 / 8 pass (ensure_table idempotent, search-empty, upsert+search, dim-mismatch, tags filter, model isolation, determinism, crash-recovery promotes pending → committed). - snapshot.rs: 1 / 1 pass against the pinned fixture. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,34 @@
|
||||
{
|
||||
"_comment": "PLACEHOLDER — regenerate via `KB_UPDATE_SNAPSHOTS=1 cargo test -p kb-store-vector -- --ignored snapshot` on an AVX-capable host. Until then the snapshot test panics with a clear 'placeholder' message.",
|
||||
"hits": []
|
||||
}
|
||||
[
|
||||
{
|
||||
"chunk_id": "00000000000000000000000000001100",
|
||||
"payload": {
|
||||
"doc_id": "0000000000000000000000000000d0c0",
|
||||
"heading_path": [
|
||||
"A"
|
||||
],
|
||||
"text": "alpha"
|
||||
},
|
||||
"score_in_unit_interval": true
|
||||
},
|
||||
{
|
||||
"chunk_id": "00000000000000000000000000001101",
|
||||
"payload": {
|
||||
"doc_id": "0000000000000000000000000000d0c1",
|
||||
"heading_path": [
|
||||
"A",
|
||||
"B"
|
||||
],
|
||||
"text": "beta"
|
||||
},
|
||||
"score_in_unit_interval": true
|
||||
},
|
||||
{
|
||||
"chunk_id": "00000000000000000000000000001103",
|
||||
"payload": {
|
||||
"doc_id": "0000000000000000000000000000d0c3",
|
||||
"heading_path": [],
|
||||
"text": "delta"
|
||||
},
|
||||
"score_in_unit_interval": true
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user