Seed SC-364 · deterministic local simulation

Semantic Cache Observatory

Tune speed against wrong answers. Every cache decision is replayable, every similarity point has a receipt, and every tenant boundary is enforced before a candidate can be compared.

No network or hosted model
Tenant isolation is mandatory
Wrong hits count against precision

Cache policy

Policy changes restart the same seeded workload.

SC-364
Lookup mode

Higher rejects more paraphrases; lower admits more near-misses.

Entries remain inspectable after expiry but cannot serve.

Tenant is not optional. It is checked before exact keys, context keys, or similarity. No preset can remove it.
Presets

Keyboard: step, Space play/pause, R reset, 13 presets.

Hit rate0 of 0 requests
Hit precisioncorrect hits / all hits
Contamination0wrong context or intent
Stale hits0old fact version served
Latency saved0 mstrusted / 0 ms gross
Cost saved$0.000trusted / $0.000 gross
Decision telescope · 0 / 20 workload items
Isolation pass · 0 blocked
Current semantic cache decision flow The request passes through an immutable tenant guard, a configurable context key, an exact or semantic comparison, and then either cache or origin. REQUEST READY SEED SC-364 TENANT GUARD MANDATORY 0 BLOCKED CONTEXT KEY TENANT + LOCALE 0 EXCLUDED HYBRID LOOKUP NO CANDIDATE THRESHOLD 0.76 DECISION READY STEP TO BEGIN
Current request Ready

Step or play the seeded workload to inspect the first decision.

18 requests2 fact changes2 tenants
Returned answer

No response yet.

Expected answer

Ground truth is attached to every seeded request.

A miss calls the simulated origin and writes its known-good answer. A hit is judged against that same ground truth, so speed cannot hide an incorrect response.

Decision log

Select any row to restore its complete explanation.

0 requests

The deterministic replay is ready.

Cache contents

Expired and namespace-fenced entries remain visible.

0 entries

Origin misses will populate the cache.

The local model, without the magic trick

This is a lexical teaching model, not an embedding service.

No vectors · no API

score = clamp(0.60 × weighted-token-Jaccard + 0.25 × ordered-bigram-Dice + 0.15 × character-trigram-Dicenumber / negation / contrast penalties)

Semantic normalization is deterministic: Unicode accent folding, lowercase, apostrophe/dash/punctuation folding, a fixed synonym/phrase map, stop-word removal, then fixed token weights. Numbers weigh 2.4×, negations 2×, contrast words 1.8×, domain terms 1.35×, and other tokens of at least nine characters 1.2×.

Exact mode is stricter: it uses Unicode accent folding, lowercase, apostrophe/punctuation folding, and whitespace collapse — but no synonym map or stop-word removal. Semantic scores are still shown as diagnostics when exact mode misses.

different numbers −0.18 one-sided number −0.09 negation mismatch −0.12 contrast mismatch −0.10…0.16