symfonic.evals.volume¶
volume ¶
Public SC-20 surface, grouped to keep the package facade bounded.
BoundedMemoryVolumeSafe
dataclass
¶
BoundedMemoryVolumeSafe(attribute: str = 'bounded_memory_volume', budgets: VolumeBudgets = VolumeBudgets(), name: str = 'bounded_memory_volume_safe')
Require bounded 10k behavior from identity/counter evidence only.
VolumeBatch
dataclass
¶
One bounded write batch whose records all share scope.
VolumeBudgets
dataclass
¶
VolumeBudgets(minimum_records: int = TOTAL_RECORDS, exact_relations: int = 2500, minimum_relevant_distractors: int = RELEVANT_DISTRACTORS, retrieval_p95_ms: int = 1500, max_candidates_per_query: int = 128, max_operation_rows: int = 500, max_peak_rss_delta_bytes: int = 96 * 1024 * 1024, max_seed_batch: int = 200, max_admin_page: int = 200, max_browser_projection: int = 400, max_quick_examined: int = 500, max_deep_examined: int = 500, max_post_created_records: int = 10, max_post_deleted_records: int = 500, max_post_created_relations: int = 2500, max_post_deleted_relations: int = 500)
Hard ceilings asserted by the ordinary 10k release gate.
VolumeQuestion
dataclass
¶
A fixed cue and the durable identity it must retrieve.
expected_record_ids
property
¶
Complete deterministic top-five identity order for this cue.
VolumeRecord
dataclass
¶
VolumeRecord(record_id: str, layer: str, text: str, scope_path: str, salience: float, origin: str, edited_by: str = '', metadata: Mapping[str, object] = dict())
Eval-owned seed row; targets adapt it to their memory implementation.
iter_isolation_sentinels ¶
Yield non-counted controls in a sibling scope and a foreign tenant.
Source code in src/symfonic/evals/volume_corpus.py
iter_volume_batches ¶
iter_volume_batches(tag: str, *, total: int = TOTAL_RECORDS, batch_size: int = _BATCH_SIZE) -> Iterator[VolumeBatch]
Yield exactly total rows in one tested scope, in bounded batches.
Isolation controls are deliberately separate. Mixing them into this
population made 10_000 true while only 105 rows were visible and
vectorised by the retrieval under test.
Source code in src/symfonic/evals/volume_corpus.py
volume_page_ids ¶
Expected newest-first admin ids without materialising the corpus.
Source code in src/symfonic/evals/volume_corpus.py
volume_record_id_at ¶
Return the deterministic id at one target-corpus insertion ordinal.