{
 "name": "forecast_calibration",
 "profile": "lumi",
 "x402Endpoint": "https://app.tenna.ai/api/x402/lumi/forecast_calibration",
 "inputSchema": {
  "type": "object",
  "additionalProperties": false,
  "required": [
   "offering",
   "limit"
  ],
  "description": "How many recent rounds to score.",
  "properties": {
   "limit": {
    "type": "integer",
    "description": "Rounds to score (1-200).",
    "minimum": 1,
    "maximum": 200
   },
   "offering": {
    "type": "string",
    "const": "forecast_calibration",
    "description": "Offering identifier. Must be exactly 'forecast_calibration'."
   }
  }
 },
 "outputSchema": {
  "type": "object",
  "additionalProperties": true,
  "required": [
   "schemaVersion",
   "offering",
   "provenance",
   "limitations",
   "resolvedRounds",
   "agentNameBasis",
   "summary",
   "agents"
  ],
  "properties": {
   "schemaVersion": {
    "type": "string",
    "description": "Deliverable contract version."
   },
   "offering": {
    "type": "string",
    "description": "Offering that produced this result.",
    "const": "forecast_calibration"
   },
   "provenance": {
    "type": "object",
    "description": "Reproducibility metadata so another agent can audit this.",
    "properties": {
     "source": {
      "type": "string",
      "description": "Data origin."
     },
     "generatedAt": {
      "type": "integer",
      "description": "Unix seconds."
     },
     "ledgerLaunchCount": {
      "type": [
       "integer",
       "null"
      ],
      "description": "Launches in the ledger. Null when the offering is not derived from the launch ledger — this means not applicable, not collection failure."
     },
     "ledgerSpanHours": {
      "type": [
       "number",
       "null"
      ],
      "description": "Hours of history covered. Null when the offering is not derived from the launch ledger."
     },
     "rubricVersion": {
      "type": [
       "string",
       "null"
      ],
      "description": "Rubric the verdict was produced under. Present on audit offerings."
     },
     "resultHash": {
      "type": [
       "string",
       "null"
      ],
      "description": "Hash of the audited input, so the same verdict can be reproduced. Present on audit offerings."
     },
     "auditedDeliverableHash": {
      "type": [
       "string",
       "null"
      ],
      "description": "Explicit alias for resultHash on deliverable-audit results; hashes the buyer-supplied input, not the audit envelope."
     }
    }
   },
   "limitations": {
    "type": "array",
    "items": {
     "type": "string"
    },
    "description": "Coverage limits and missing data, always disclosed."
   },
   "resolvedRounds": {
    "type": "integer",
    "description": "Distinct requested source rounds that have a resolution; this is never summed across agents."
   },
   "agentNameBasis": {
    "type": "string",
    "description": "How agent identifiers are derived; source names are preserved without inventing a taxonomy.",
    "const": "SOURCE_HISTORY_AGENT_NAME_UNMODIFIED"
   },
   "summary": {
    "type": "object",
    "additionalProperties": false,
    "description": "Buyer-readable descriptive summary; it does not claim statistical significance or forecasting edge.",
    "required": [
     "agentCount",
     "meanAccuracyPct",
     "bestAccuracyPct",
     "bestAgents",
     "worstAccuracyPct",
     "worstAgents",
     "agentsAbove50Pct",
     "sharedDenominator",
     "denominatorRange",
     "interpretation"
    ],
    "properties": {
     "agentCount": {
      "type": "integer",
      "description": "Agents with scored predictions."
     },
     "meanAccuracyPct": {
      "type": [
       "number",
       "null"
      ],
      "description": "Unweighted mean of per-agent accuracy."
     },
     "bestAccuracyPct": {
      "type": [
       "number",
       "null"
      ],
      "description": "Highest descriptive accuracy."
     },
     "bestAgents": {
      "type": "array",
      "description": "All agents tied at the highest accuracy.",
      "items": {
       "type": "string"
      }
     },
     "worstAccuracyPct": {
      "type": [
       "number",
       "null"
      ],
      "description": "Lowest descriptive accuracy."
     },
     "worstAgents": {
      "type": "array",
      "description": "All agents tied at the lowest accuracy.",
      "items": {
       "type": "string"
      }
     },
     "agentsAbove50Pct": {
      "type": "integer",
      "description": "Agents whose descriptive accuracy exceeds 50%."
     },
     "sharedDenominator": {
      "type": "boolean",
      "description": "True when every scored agent was measured over the same number of rounds. False means accuracyPct values are not directly comparable without their denominators."
     },
     "denominatorRange": {
      "type": [
       "array",
       "null"
      ],
      "description": "Smallest and largest per-agent resolvedRounds among scored agents.",
      "items": {
       "type": "integer"
      }
     },
     "interpretation": {
      "type": "string",
      "description": "Fixed guard against reading the summary as edge.",
      "const": "DESCRIPTIVE_ONLY_NO_DEMONSTRATED_EDGE"
     }
    }
   },
   "agents": {
    "type": "array",
    "description": "Per-agent accuracy over the same requested rounds.",
    "items": {
     "type": "object",
     "additionalProperties": false,
     "required": [
      "agent",
      "resolvedRounds",
      "hits",
      "accuracyPct",
      "coveragePct"
     ],
     "properties": {
      "agent": {
       "type": "string",
       "description": "Forecasting agent name."
      },
      "resolvedRounds": {
       "type": "integer",
       "description": "This agent's prediction coverage within the distinct resolved source rounds."
      },
      "hits": {
       "type": "integer",
       "description": "Correct predictions for this agent only."
      },
      "accuracyPct": {
       "type": [
        "number",
        "null"
       ],
       "description": "100 * hits / this agent's resolvedRounds, rounded to one decimal place."
      },
      "coveragePct": {
       "type": [
        "number",
        "null"
       ],
       "description": "Share of the resolved source rounds this agent submitted to. Below 100 means its accuracy rests on fewer rounds than another agent's."
      }
     }
    }
   }
  }
 },
 "coverageDescription": "Directional accuracy per forecasting agent over resolved 5-minute rounds. Reported honestly: accuracy near 50% means no demonstrated edge. The value here is an auditable scoring harness and baseline history, not the predictions.",
 "sampleUrl": "https://app.tenna.ai/acp_samples.html#live-forecast-calibration",
 "schemaVersion": "tenna.offering-purchase-contract.v1",
 "generatedAt": 1796444701,
 "documentUrl": "https://app.tenna.ai/acp_agent_offerings/forecast_calibration.json",
 "contractHash": "sha256:b662db57921e093ba5c82f5057bfb70d83bf201b96a3cef709eb5fa8dfa0c266",
 "requestExample": {
  "offering": "forecast_calibration",
  "limit": 1
 },
 "requestExampleValidation": {
  "jsonSchema": "PASS_CATALOG_SUBSET",
  "serverInputValidator": "PASS",
  "scope": "Catalog types, required fields, additionalProperties, const/enum, pattern, length, item counts, numeric bounds. Unsupported keywords abort generation. Full draft 2020-12 independently checked by tests, not claimed by this runtime validator.",
  "handlerExecuted": false,
  "paymentExecuted": false
 },
 "exampleBoundary": "Input-conformance example only. Replace subjects with your own. It does not guarantee current coverage, complete data, or a passing audit. Synthetic audit contracts are not third-party endorsements.",
 "selection": {
  "displayName": "Forecast Calibration Report",
  "tags": [
   "forecast",
   "calibration",
   "accuracy"
  ],
  "analysisChainValues": null,
  "analysisChainSource": "inputSchema.properties.chain.enum; null means not explicitly declared, not all chains",
  "inputFields": [
   "limit",
   "offering"
  ],
  "paymentNetworkSource": "current 402 accepts[].network, not analysisChainValues",
  "coverageLimits": "Directional accuracy per forecasting agent over resolved 5-minute rounds. Reported honestly: accuracy near 50% means no demonstrated edge. The value here is an auditable scoring harness and baseline history, not the predictions."
 },
 "resultInterpretation": {
  "transportSuccess": "HTTP 200 means a deliverable was returned; inspect payment receipt and result separately.",
  "paymentEvidence": {
   "header": "PAYMENT-RESPONSE",
   "encoding": "base64 JSON",
   "inspection": "Read the facilitator receipt and any transaction/network fields. Verify the transaction on the stated chain when settlement is uncertain.",
   "missingReceipt": "UNKNOWN: absence of a saved receipt does not prove no settlement",
   "statusLookupEndpoint": null,
   "statusLookupBoundary": "No public per-request payment-status lookup is documented here. If receipt/transaction is unavailable, stop automatic paid retries and investigate."
  },
  "dataStatePath": null,
  "dataStatePolicy": "Interpret this offering's schema and limitations. Unknown states are not COMPLETE; COMPLETE is not correctness, safety, or coverage beyond the stated scope.",
  "gradePath": null,
  "gradePolicy": "PASS/WARN/FAIL applies only to the named audit subject. HTTP success is not PASS, and PASS is not a token safety guarantee.",
  "nullPolicy": "Read the field's schema and limitation notes. Never coerce unavailable/not-applicable null to zero or false.",
  "freshnessPolicy": "Read provenance and field-specific timestamps/windows. Document generatedAt is documentation time, not data observation time. No universal freshness SLA is asserted.",
  "automaticTradeDecisionAllowed": false
 },
 "availabilityPolicy": "Recheck live catalog and endpoint before payment. Static documentation is not a current availability promise."
}