Documentation
¶
Overview ¶
Package semanticquest exercises six shadow scenarios through the real broker. Generation is always a deterministic fixture, never a provider performance test.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Request ¶
func Request(c Case) delegation.Request
Request creates a synthetic, explicitly bounded checked task for examples and repeatable validation. Its embedding threshold is a fixture setting, not a calibrated recommendation for other workloads.
Types ¶
type Case ¶
type Report ¶
type Report struct {
Mode string `json:"mode"`
Generation string `json:"generation"`
PhysicalHosts int `json:"physical_hosts"`
IsolatedClients int `json:"isolated_clients"`
Passed int `json:"passed"`
Total int `json:"total"`
FixtureGenerationCalls int64 `json:"fixture_generation_calls"`
EmbeddingCalls int64 `json:"embedding_calls"`
GenerationAvoidedBySemantic int `json:"generation_avoided_by_semantic"`
ProviderAPISpendUSD int `json:"provider_api_spend_usd"`
Cases []Row `json:"cases"`
}
type Row ¶
type Row struct {
ID string `json:"id"`
Passed bool `json:"passed"`
ExactSkippedEmbedding bool `json:"exact_skipped_embedding"`
CandidateObserved bool `json:"candidate_observed"`
GuardRejected bool `json:"guard_rejected"`
BrokerRestarted bool `json:"broker_restarted"`
First *semantic.Observation `json:"first_shadow"`
Paraphrase *semantic.Observation `json:"paraphrase_shadow"`
Negative *semantic.Observation `json:"negative_shadow"`
}
Click to show internal directories.
Click to hide internal directories.