{
  "format": "socratest.synthetic-sample.v1",
  "synthetic": true,
  "title": "Fictional desk-lamp catalog",
  "method": "Scripted fictional assistant through the supported HTTP adapter; independent fixture reference; no model; LLM judge forced off.",
  "reproduction": "npm run demo:sample",
  "fixtureSha256": "92c714880aee98204693981759a8bf90bdd392ad9770a205c95cd3db3b7f24f0",
  "suiteSha256": "b2d776157c9a7013a494da668c2c519ecb93bf1069728e65b18625c1adb40dd1",
  "timestampPolicy": "Wall-clock timestamps and loopback ports are omitted so the sample artifacts reproduce byte for byte.",
  "references": [
    {
      "snapshotId": "catalog-v1",
      "acceptance": {
        "accepted": true,
        "by": "Demo catalog owner (fictional)"
      },
      "scope": "Complete fictional desk-lamp catalog, with one price per product",
      "unit": "demo units",
      "items": [
        {
          "id": "lamp-a",
          "name": "Lamp A",
          "price": 24
        },
        {
          "id": "lamp-b",
          "name": "Lamp B",
          "price": 39
        },
        {
          "id": "lamp-c",
          "name": "Lamp C",
          "price": 64
        }
      ],
      "sha256": "a140269149559bff773f8313e72877df432d967fc3564cb33ef496372a93d962"
    },
    {
      "snapshotId": "catalog-v2",
      "acceptance": {
        "accepted": true,
        "by": "Demo catalog owner (fictional)"
      },
      "scope": "Complete fictional desk-lamp catalog, with one price per product",
      "unit": "demo units",
      "items": [
        {
          "id": "lamp-a",
          "name": "Lamp A",
          "price": 29
        },
        {
          "id": "lamp-b",
          "name": "Lamp B",
          "price": 39
        },
        {
          "id": "lamp-c",
          "name": "Lamp C",
          "price": 64
        },
        {
          "id": "lamp-d",
          "name": "Lamp D",
          "price": 82
        }
      ],
      "sha256": "d1ad6e311905b10b681aced0f7805c12a3b6375dee7a976c471786e0c21a1a3a"
    }
  ],
  "suite": {
    "name": "synthetic-structured-products",
    "adapter": "http",
    "steps": [
      {
        "id": "minimum-price",
        "message": "What is the least expensive lamp?",
        "checks": [
          {
            "oracle": "minPrice"
          }
        ],
        "send": {
          "caseId": "minimum-price",
          "message": "What is the least expensive lamp?"
        }
      },
      {
        "id": "price-order",
        "message": "Show the lamps from lowest to highest price.",
        "checks": [
          {
            "oracle": "orderingInversions",
            "expect": {
              "dir": "asc"
            }
          }
        ],
        "send": {
          "caseId": "price-order",
          "message": "Show the lamps from lowest to highest price."
        }
      },
      {
        "id": "catalog-total",
        "message": "How many lamps are in the complete catalog?",
        "checks": [
          {
            "oracle": "totalMatch"
          }
        ],
        "send": {
          "caseId": "catalog-total",
          "message": "How many lamps are in the complete catalog?"
        }
      },
      {
        "id": "productivity",
        "message": "Which lamp will make me more productive?",
        "checks": [
          {
            "oracle": "judge"
          }
        ],
        "send": {
          "caseId": "productivity",
          "message": "Which lamp will make me more productive?"
        }
      }
    ]
  },
  "runs": [
    {
      "id": "baseline",
      "assistantRevision": "script-v1",
      "target": {
        "snapshotId": "catalog-v1",
        "sha256": "a140269149559bff773f8313e72877df432d967fc3564cb33ef496372a93d962"
      },
      "referenceSnapshotId": "catalog-v1",
      "referenceSha256": "a140269149559bff773f8313e72877df432d967fc3564cb33ef496372a93d962",
      "preflight": {
        "ok": true,
        "reason": null
      },
      "status": "assessed",
      "assistantRequests": 4,
      "summary": {
        "steps": 4,
        "checks": 4,
        "passed": 1,
        "failed": 2,
        "skipped": 1
      },
      "steps": [
        {
          "id": "minimum-price",
          "repeat": 1,
          "turns": [
            {
              "stepId": "minimum-price",
              "run": 0,
              "sent": {
                "caseId": "minimum-price",
                "message": "What is the least expensive lamp?"
              },
              "reply": "Lamp B is the least expensive lamp at 39 demo units.",
              "claim": {
                "cheapestPrice": 39
              },
              "shownCards": [
                {
                  "id": "lamp-b",
                  "name": "Lamp B",
                  "price": 39
                }
              ],
              "search": {
                "total": 3,
                "page": null,
                "perPage": null,
                "items": [
                  {
                    "id": "lamp-a",
                    "name": "Lamp A",
                    "price": 24
                  },
                  {
                    "id": "lamp-b",
                    "name": "Lamp B",
                    "price": 39
                  },
                  {
                    "id": "lamp-c",
                    "name": "Lamp C",
                    "price": 64
                  }
                ]
              },
              "truth": {
                "total": 3,
                "items": [
                  {
                    "id": "lamp-a",
                    "name": "Lamp A",
                    "price": 24
                  },
                  {
                    "id": "lamp-b",
                    "name": "Lamp B",
                    "price": 39
                  },
                  {
                    "id": "lamp-c",
                    "name": "Lamp C",
                    "price": 64
                  }
                ]
              }
            }
          ],
          "checks": [
            {
              "oracle": "minPrice",
              "scope": "per-turn",
              "ok": false,
              "detail": {
                "ok": false,
                "declaredPrice": 39,
                "actualMin": 24,
                "actualMinId": "lamp-a",
                "cheaperCount": 1,
                "cheaperIds": [
                  "lamp-a"
                ],
                "reason": "cheaper-exists"
              }
            }
          ],
          "question": "What is the least expensive lamp?",
          "acceptedAnswer": {
            "value": 24,
            "unit": "demo units"
          }
        },
        {
          "id": "price-order",
          "repeat": 1,
          "turns": [
            {
              "stepId": "price-order",
              "run": 0,
              "sent": {
                "caseId": "price-order",
                "message": "Show the lamps from lowest to highest price."
              },
              "reply": "Here are all lamps from lowest to highest price: Lamp B, Lamp A, Lamp C.",
              "claim": {
                "ordering": "asc"
              },
              "shownCards": [
                {
                  "id": "lamp-b",
                  "name": "Lamp B",
                  "price": 39
                },
                {
                  "id": "lamp-a",
                  "name": "Lamp A",
                  "price": 24
                },
                {
                  "id": "lamp-c",
                  "name": "Lamp C",
                  "price": 64
                }
              ],
              "search": {
                "total": 3,
                "page": null,
                "perPage": null,
                "items": [
                  {
                    "id": "lamp-a",
                    "name": "Lamp A",
                    "price": 24
                  },
                  {
                    "id": "lamp-b",
                    "name": "Lamp B",
                    "price": 39
                  },
                  {
                    "id": "lamp-c",
                    "name": "Lamp C",
                    "price": 64
                  }
                ]
              },
              "truth": {
                "total": 3,
                "items": [
                  {
                    "id": "lamp-a",
                    "name": "Lamp A",
                    "price": 24
                  },
                  {
                    "id": "lamp-b",
                    "name": "Lamp B",
                    "price": 39
                  },
                  {
                    "id": "lamp-c",
                    "name": "Lamp C",
                    "price": 64
                  }
                ]
              }
            }
          ],
          "checks": [
            {
              "oracle": "orderingInversions",
              "scope": "per-turn",
              "ok": false,
              "detail": {
                "ok": false,
                "dir": "asc",
                "count": 3,
                "inversions": 1,
                "pairs": [
                  {
                    "i": 1,
                    "prevId": "lamp-b",
                    "prev": 39,
                    "curId": "lamp-a",
                    "cur": 24
                  }
                ]
              }
            }
          ],
          "question": "Show the lamps from lowest to highest price.",
          "acceptedAnswer": {
            "ids": [
              "lamp-a",
              "lamp-b",
              "lamp-c"
            ]
          }
        },
        {
          "id": "catalog-total",
          "repeat": 1,
          "turns": [
            {
              "stepId": "catalog-total",
              "run": 0,
              "sent": {
                "caseId": "catalog-total",
                "message": "How many lamps are in the complete catalog?"
              },
              "reply": "There are 3 lamps in the complete catalog.",
              "claim": {
                "declaredTotal": 3
              },
              "shownCards": [
                {
                  "id": "lamp-a",
                  "name": "Lamp A",
                  "price": 24
                },
                {
                  "id": "lamp-b",
                  "name": "Lamp B",
                  "price": 39
                },
                {
                  "id": "lamp-c",
                  "name": "Lamp C",
                  "price": 64
                }
              ],
              "search": {
                "total": 3,
                "page": null,
                "perPage": null,
                "items": [
                  {
                    "id": "lamp-a",
                    "name": "Lamp A",
                    "price": 24
                  },
                  {
                    "id": "lamp-b",
                    "name": "Lamp B",
                    "price": 39
                  },
                  {
                    "id": "lamp-c",
                    "name": "Lamp C",
                    "price": 64
                  }
                ]
              },
              "truth": {
                "total": 3,
                "items": [
                  {
                    "id": "lamp-a",
                    "name": "Lamp A",
                    "price": 24
                  },
                  {
                    "id": "lamp-b",
                    "name": "Lamp B",
                    "price": 39
                  },
                  {
                    "id": "lamp-c",
                    "name": "Lamp C",
                    "price": 64
                  }
                ]
              }
            }
          ],
          "checks": [
            {
              "oracle": "totalMatch",
              "scope": "per-turn",
              "ok": true,
              "detail": {
                "ok": true,
                "declaredTotal": 3,
                "actualTotal": 3,
                "delta": 0
              }
            }
          ],
          "question": "How many lamps are in the complete catalog?",
          "acceptedAnswer": {
            "value": 3
          }
        },
        {
          "id": "productivity",
          "repeat": 1,
          "turns": [
            {
              "stepId": "productivity",
              "run": 0,
              "sent": {
                "caseId": "productivity",
                "message": "Which lamp will make me more productive?"
              },
              "reply": "Lamp C will make you more productive.",
              "claim": {},
              "shownCards": [
                {
                  "id": "lamp-c",
                  "name": "Lamp C",
                  "price": 64
                }
              ],
              "search": {
                "total": 3,
                "page": null,
                "perPage": null,
                "items": [
                  {
                    "id": "lamp-a",
                    "name": "Lamp A",
                    "price": 24
                  },
                  {
                    "id": "lamp-b",
                    "name": "Lamp B",
                    "price": 39
                  },
                  {
                    "id": "lamp-c",
                    "name": "Lamp C",
                    "price": 64
                  }
                ]
              },
              "truth": {
                "total": 3,
                "items": [
                  {
                    "id": "lamp-a",
                    "name": "Lamp A",
                    "price": 24
                  },
                  {
                    "id": "lamp-b",
                    "name": "Lamp B",
                    "price": 39
                  },
                  {
                    "id": "lamp-c",
                    "name": "Lamp C",
                    "price": 64
                  }
                ]
              }
            }
          ],
          "checks": [
            {
              "oracle": "judge",
              "scope": "judge",
              "ok": null,
              "skipped": true,
              "detail": {
                "reason": "no-judge-configured"
              }
            }
          ],
          "question": "Which lamp will make me more productive?",
          "acceptedAnswer": null
        }
      ]
    },
    {
      "id": "stale-reference",
      "assistantRevision": "script-v2",
      "target": {
        "snapshotId": "catalog-v2",
        "sha256": "d1ad6e311905b10b681aced0f7805c12a3b6375dee7a976c471786e0c21a1a3a"
      },
      "referenceSnapshotId": "catalog-v1",
      "referenceSha256": "a140269149559bff773f8313e72877df432d967fc3564cb33ef496372a93d962",
      "preflight": {
        "ok": false,
        "reason": "reference-version-mismatch"
      },
      "status": "not-assessed",
      "assistantRequests": 0,
      "summary": null,
      "steps": []
    },
    {
      "id": "retest",
      "assistantRevision": "script-v2",
      "target": {
        "snapshotId": "catalog-v2",
        "sha256": "d1ad6e311905b10b681aced0f7805c12a3b6375dee7a976c471786e0c21a1a3a"
      },
      "referenceSnapshotId": "catalog-v2",
      "referenceSha256": "d1ad6e311905b10b681aced0f7805c12a3b6375dee7a976c471786e0c21a1a3a",
      "preflight": {
        "ok": true,
        "reason": null
      },
      "status": "assessed",
      "assistantRequests": 4,
      "summary": {
        "steps": 4,
        "checks": 4,
        "passed": 3,
        "failed": 0,
        "skipped": 1
      },
      "steps": [
        {
          "id": "minimum-price",
          "repeat": 1,
          "turns": [
            {
              "stepId": "minimum-price",
              "run": 0,
              "sent": {
                "caseId": "minimum-price",
                "message": "What is the least expensive lamp?"
              },
              "reply": "Lamp A is the least expensive lamp at 29 demo units.",
              "claim": {
                "cheapestPrice": 29
              },
              "shownCards": [
                {
                  "id": "lamp-a",
                  "name": "Lamp A",
                  "price": 29
                }
              ],
              "search": {
                "total": 4,
                "page": null,
                "perPage": null,
                "items": [
                  {
                    "id": "lamp-a",
                    "name": "Lamp A",
                    "price": 29
                  },
                  {
                    "id": "lamp-b",
                    "name": "Lamp B",
                    "price": 39
                  },
                  {
                    "id": "lamp-c",
                    "name": "Lamp C",
                    "price": 64
                  },
                  {
                    "id": "lamp-d",
                    "name": "Lamp D",
                    "price": 82
                  }
                ]
              },
              "truth": {
                "total": 4,
                "items": [
                  {
                    "id": "lamp-a",
                    "name": "Lamp A",
                    "price": 29
                  },
                  {
                    "id": "lamp-b",
                    "name": "Lamp B",
                    "price": 39
                  },
                  {
                    "id": "lamp-c",
                    "name": "Lamp C",
                    "price": 64
                  },
                  {
                    "id": "lamp-d",
                    "name": "Lamp D",
                    "price": 82
                  }
                ]
              }
            }
          ],
          "checks": [
            {
              "oracle": "minPrice",
              "scope": "per-turn",
              "ok": true,
              "detail": {
                "ok": true,
                "declaredPrice": 29,
                "actualMin": 29,
                "actualMinId": "lamp-a",
                "cheaperCount": 0,
                "cheaperIds": [],
                "reason": null
              }
            }
          ],
          "question": "What is the least expensive lamp?",
          "acceptedAnswer": {
            "value": 29,
            "unit": "demo units"
          }
        },
        {
          "id": "price-order",
          "repeat": 1,
          "turns": [
            {
              "stepId": "price-order",
              "run": 0,
              "sent": {
                "caseId": "price-order",
                "message": "Show the lamps from lowest to highest price."
              },
              "reply": "Here are all lamps from lowest to highest price: Lamp A, Lamp B, Lamp C, Lamp D.",
              "claim": {
                "ordering": "asc"
              },
              "shownCards": [
                {
                  "id": "lamp-a",
                  "name": "Lamp A",
                  "price": 29
                },
                {
                  "id": "lamp-b",
                  "name": "Lamp B",
                  "price": 39
                },
                {
                  "id": "lamp-c",
                  "name": "Lamp C",
                  "price": 64
                },
                {
                  "id": "lamp-d",
                  "name": "Lamp D",
                  "price": 82
                }
              ],
              "search": {
                "total": 4,
                "page": null,
                "perPage": null,
                "items": [
                  {
                    "id": "lamp-a",
                    "name": "Lamp A",
                    "price": 29
                  },
                  {
                    "id": "lamp-b",
                    "name": "Lamp B",
                    "price": 39
                  },
                  {
                    "id": "lamp-c",
                    "name": "Lamp C",
                    "price": 64
                  },
                  {
                    "id": "lamp-d",
                    "name": "Lamp D",
                    "price": 82
                  }
                ]
              },
              "truth": {
                "total": 4,
                "items": [
                  {
                    "id": "lamp-a",
                    "name": "Lamp A",
                    "price": 29
                  },
                  {
                    "id": "lamp-b",
                    "name": "Lamp B",
                    "price": 39
                  },
                  {
                    "id": "lamp-c",
                    "name": "Lamp C",
                    "price": 64
                  },
                  {
                    "id": "lamp-d",
                    "name": "Lamp D",
                    "price": 82
                  }
                ]
              }
            }
          ],
          "checks": [
            {
              "oracle": "orderingInversions",
              "scope": "per-turn",
              "ok": true,
              "detail": {
                "ok": true,
                "dir": "asc",
                "count": 4,
                "inversions": 0,
                "pairs": []
              }
            }
          ],
          "question": "Show the lamps from lowest to highest price.",
          "acceptedAnswer": {
            "ids": [
              "lamp-a",
              "lamp-b",
              "lamp-c",
              "lamp-d"
            ]
          }
        },
        {
          "id": "catalog-total",
          "repeat": 1,
          "turns": [
            {
              "stepId": "catalog-total",
              "run": 0,
              "sent": {
                "caseId": "catalog-total",
                "message": "How many lamps are in the complete catalog?"
              },
              "reply": "There are 4 lamps in the complete catalog.",
              "claim": {
                "declaredTotal": 4
              },
              "shownCards": [
                {
                  "id": "lamp-a",
                  "name": "Lamp A",
                  "price": 29
                },
                {
                  "id": "lamp-b",
                  "name": "Lamp B",
                  "price": 39
                },
                {
                  "id": "lamp-c",
                  "name": "Lamp C",
                  "price": 64
                },
                {
                  "id": "lamp-d",
                  "name": "Lamp D",
                  "price": 82
                }
              ],
              "search": {
                "total": 4,
                "page": null,
                "perPage": null,
                "items": [
                  {
                    "id": "lamp-a",
                    "name": "Lamp A",
                    "price": 29
                  },
                  {
                    "id": "lamp-b",
                    "name": "Lamp B",
                    "price": 39
                  },
                  {
                    "id": "lamp-c",
                    "name": "Lamp C",
                    "price": 64
                  },
                  {
                    "id": "lamp-d",
                    "name": "Lamp D",
                    "price": 82
                  }
                ]
              },
              "truth": {
                "total": 4,
                "items": [
                  {
                    "id": "lamp-a",
                    "name": "Lamp A",
                    "price": 29
                  },
                  {
                    "id": "lamp-b",
                    "name": "Lamp B",
                    "price": 39
                  },
                  {
                    "id": "lamp-c",
                    "name": "Lamp C",
                    "price": 64
                  },
                  {
                    "id": "lamp-d",
                    "name": "Lamp D",
                    "price": 82
                  }
                ]
              }
            }
          ],
          "checks": [
            {
              "oracle": "totalMatch",
              "scope": "per-turn",
              "ok": true,
              "detail": {
                "ok": true,
                "declaredTotal": 4,
                "actualTotal": 4,
                "delta": 0
              }
            }
          ],
          "question": "How many lamps are in the complete catalog?",
          "acceptedAnswer": {
            "value": 4
          }
        },
        {
          "id": "productivity",
          "repeat": 1,
          "turns": [
            {
              "stepId": "productivity",
              "run": 0,
              "sent": {
                "caseId": "productivity",
                "message": "Which lamp will make me more productive?"
              },
              "reply": "The catalog has no accepted measure of productivity. Which lighting characteristics matter to you?",
              "claim": {},
              "shownCards": [],
              "search": {
                "total": 4,
                "page": null,
                "perPage": null,
                "items": [
                  {
                    "id": "lamp-a",
                    "name": "Lamp A",
                    "price": 29
                  },
                  {
                    "id": "lamp-b",
                    "name": "Lamp B",
                    "price": 39
                  },
                  {
                    "id": "lamp-c",
                    "name": "Lamp C",
                    "price": 64
                  },
                  {
                    "id": "lamp-d",
                    "name": "Lamp D",
                    "price": 82
                  }
                ]
              },
              "truth": {
                "total": 4,
                "items": [
                  {
                    "id": "lamp-a",
                    "name": "Lamp A",
                    "price": 29
                  },
                  {
                    "id": "lamp-b",
                    "name": "Lamp B",
                    "price": 39
                  },
                  {
                    "id": "lamp-c",
                    "name": "Lamp C",
                    "price": 64
                  },
                  {
                    "id": "lamp-d",
                    "name": "Lamp D",
                    "price": 82
                  }
                ]
              }
            }
          ],
          "checks": [
            {
              "oracle": "judge",
              "scope": "judge",
              "ok": null,
              "skipped": true,
              "detail": {
                "reason": "no-judge-configured"
              }
            }
          ],
          "question": "Which lamp will make me more productive?",
          "acceptedAnswer": null
        }
      ]
    }
  ],
  "notAssessed": [
    "Productivity claims and subjective recommendations have no accepted reference in this fixture; the LLM judge is off.",
    "Free-form prose extraction is not implemented here; the scripted endpoint supplies explicit numeric claims and shown product IDs.",
    "This sample uses complete finite product prices. Missing source values require an explicit coverage decision, never an inferred price.",
    "The version gate requires an observable target snapshot identifier and content hash. A target without that evidence is not assessed.",
    "No live customer assistant, automatic website compatibility, security audit, token cost, latency improvement or commercial outcome is demonstrated."
  ]
}
