SocraTestDownload the run record

Synthetic example / supported HTTP adapter / judge off

An answer, its reference, and the verdict.

A fictional product catalog changes. The baseline catches 2 scripted mismatches. An outdated reference is withheld, then the same questions run against an accepted new snapshot.

Every product, reference approval and assistant answer in this example is fictional. The existing SocraTest HTTP adapter and deterministic checks produce the verdicts. The retest uses an explicitly revised script; it is not evidence of a model improvement or a customer result.

script-v1 / catalog-v1

Baseline

Accepted reference: catalog-v1
SHA-256 a140269149559bff773f8313e72877df432d967fc3564cb33ef496372a93d962

1 passed · 2 mismatched · 1 not assessed. These are checks on the agreed questions.

What is the least expensive lamp?

Mismatch
Accepted reference
{"value":24,"unit":"demo units"}
Scripted assistant answer
Lamp B is the least expensive lamp at 39 demo units.
Evidence from the check
{"ok":false,"declaredPrice":39,"actualMin":24,"actualMinId":"lamp-a","cheaperCount":1,"cheaperIds":["lamp-a"],"reason":"cheaper-exists"}

Show the lamps from lowest to highest price.

Mismatch
Accepted reference
{"ids":["lamp-a","lamp-b","lamp-c"]}
Scripted assistant answer
Here are all lamps from lowest to highest price: Lamp B, Lamp A, Lamp C.
Evidence from the check
{"ok":false,"dir":"asc","count":3,"inversions":1,"pairs":[{"i":1,"prevId":"lamp-b","prev":39,"curId":"lamp-a","cur":24}]}

How many lamps are in the complete catalog?

Pass
Accepted reference
{"value":3}
Scripted assistant answer
There are 3 lamps in the complete catalog.
Evidence from the check
{"ok":true,"declaredTotal":3,"actualTotal":3,"delta":0}

Which lamp will make me more productive?

Not assessed
Accepted reference
No accepted answer for this question.
Scripted assistant answer
Lamp C will make you more productive.
Evidence from the check
{"reason":"no-judge-configured"}

script-v2 / catalog-v2

Changed catalog, stale reference

Accepted reference: catalog-v1
SHA-256 a140269149559bff773f8313e72877df432d967fc3564cb33ef496372a93d962

Not assessed: reference-version-mismatch.

The target exposes catalog-v2. The accepted reference is catalog-v1. The harness stopped before querying the assistant (0 assistant requests). Accept a current reference before a retest.

script-v2 / catalog-v2

Retest with accepted catalog v2

Accepted reference: catalog-v2
SHA-256 d1ad6e311905b10b681aced0f7805c12a3b6375dee7a976c471786e0c21a1a3a

3 passed · 0 mismatched · 1 not assessed. These are checks on the agreed questions.

What is the least expensive lamp?

Pass
Accepted reference
{"value":29,"unit":"demo units"}
Scripted assistant answer
Lamp A is the least expensive lamp at 29 demo units.
Evidence from the check
{"ok":true,"declaredPrice":29,"actualMin":29,"actualMinId":"lamp-a","cheaperCount":0,"cheaperIds":[],"reason":null}

Show the lamps from lowest to highest price.

Pass
Accepted reference
{"ids":["lamp-a","lamp-b","lamp-c","lamp-d"]}
Scripted assistant answer
Here are all lamps from lowest to highest price: Lamp A, Lamp B, Lamp C, Lamp D.
Evidence from the check
{"ok":true,"dir":"asc","count":4,"inversions":0,"pairs":[]}

How many lamps are in the complete catalog?

Pass
Accepted reference
{"value":4}
Scripted assistant answer
There are 4 lamps in the complete catalog.
Evidence from the check
{"ok":true,"declaredTotal":4,"actualTotal":4,"delta":0}

Which lamp will make me more productive?

Not assessed
Accepted reference
No accepted answer for this question.
Scripted assistant answer
The catalog has no accepted measure of productivity. Which lighting characteristics matter to you?
Evidence from the check
{"reason":"no-judge-configured"}

Versioned references

What the reference contains.

catalog-v1: 3 fictional products

Complete fictional desk-lamp catalog, with one price per product. Prices are in demo units. Acceptance by Demo catalog owner (fictional) is part of the scripted example.

Product IDProductPrice
lamp-aLamp A24
lamp-bLamp B39
lamp-cLamp C64

SHA-256 a140269149559bff773f8313e72877df432d967fc3564cb33ef496372a93d962

catalog-v2: 4 fictional products

Complete fictional desk-lamp catalog, with one price per product. Prices are in demo units. Acceptance by Demo catalog owner (fictional) is part of the scripted example.

Product IDProductPrice
lamp-aLamp A29
lamp-bLamp B39
lamp-cLamp C64
lamp-dLamp D82

SHA-256 d1ad6e311905b10b681aced0f7805c12a3b6375dee7a976c471786e0c21a1a3a

Coverage

What this sample does not assess.

Reproduction

Inspect the underlying record.

Run npm run demo:sample in the SocraTest checkout. Requests stay on loopback. No model API or external assistant is contacted.

Open the complete JSON record, including accepted snapshots, question set, answers and oracle evidence.

Fixture SHA-256 92c714880aee98204693981759a8bf90bdd392ad9770a205c95cd3db3b7f24f0
Suite SHA-256 b2d776157c9a7013a494da668c2c519ecb93bf1069728e65b18625c1adb40dd1