deepstack-api-v2-contracts / examples /scenario-run /valid-score-calculator.json
mcauduro's picture
DeepStack API v2 contracts, package 7726f3ef2d6c (CC-BY-4.0)
1e3bc19 verified
Raw History Blame Contribute Delete
1.14 kB
{
"schema_version": "ml.v1",
"run_id": "scn-r1-1",
"request_id": "req-scn-1",
"question_id": "th001-t41",
"tool_id": "score_calculator",
"tool_version": "1",
"domain": "scoring",
"method": "score = round_half_up(25 - 100 * (outcome - p/100)^2); p integer 1..99; outcome 0|1",
"inputs": [
{"name": "p", "value": 70, "unit": "percent"},
{"name": "outcome", "value": 1, "unit": "binary"}
],
"outputs": [
{"name": "score", "value": 16, "unit": "points"},
{"name": "score_if_yes", "value": 16, "unit": "points"},
{"name": "score_if_no", "value": -24, "unit": "points"}
],
"assumptions": ["The question resolves to exactly one of yes/no.", "The locked probability is the integer p."],
"limitations": ["Deterministic restatement of the game's scoring rule; it does not estimate any probability."],
"source_ids": [],
"as_of": "2026-10-28T23:00:00Z",
"seed": null,
"computed_at": "2026-10-28T23:00:01Z",
"expires_at": "2026-10-29T23:00:00Z",
"principal_scope": {"kind": "reader", "subject_id": "sub_reader_bbbb2222", "tenant_id": "public"},
"tool_receipt_id": "tool-r1-1",
"side_effects": "none",
"status": "complete"
}