Skip to content

Add revision and replicate aware evaluation reuse - #162

Merged
jc-macdonald merged 1 commit into
mainfrom
feat/154-evaluation-cache
Oct 3, 2026
Merged

jc-macdonald merged 1 commit into
mainfrom
feat/154-evaluation-cache

Conversation

@jc-macdonald

Copy link
Copy Markdown
Collaborator

Grid evaluation reuse is now opt-in through EvaluationCache. Keys include typed canonical config, replicate id/namespace, explicit simulator/scorer/data revision, fidelity, class code, objective schema and annotation semantics. Reordered grids and expanded replication reuse matching evaluations while independent namespaces remain distinct. Results expose cache identity/context provenance.

Adds persistent immutable evidence, bypass without reads/writes, full invalidation, checkpoint-to-cache population, and conflict detection. Opaque configurations and config-mutating evaluators are refused. Callers still manage revisions for instance/external/opaque behavior and must identify actual seed semantics. Concurrent workers may duplicate an absent evaluation before saving; this does not promise exactly-once effects.

Closes #154 (session warm starts shipped in #161).

Validation: just ci and strict docs build; tests cover persistence, reordered/expanded grids, independent replication, revision/fidelity/objective/annotation changes, bypass/invalidation, typed scalar/container identity, parallel workers, completed checkpoints, mutation protection, format mismatch, and conflicting evidence.

@jc-macdonald
jc-macdonald merged commit 89b43be into main Oct 3, 2026
7 checks passed
@jc-macdonald
jc-macdonald deleted the feat/154-evaluation-cache branch October 3, 2026 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warm-start adaptive searches and safely reuse compatible evaluations

1 participant