{
  "kind": "adrf-policy",
  "adrf": "0.1",
  "name": "model API service disputes v1",
  "description": "Disputes about calls of a model API service held in a service escrow between plain accounts: payment (limit) obligations decided by a settlement verifier, the declared-versus-committed version decided by a version verifier, result obligations decided by an ERC-8436 roster, external facts (such as the version actually used) decided by an attestor panel.",
  "objectCategory": "ai-system-or-service",
  "family": "adrf.vectors.service",
  "version": 1,
  "previous": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "updateAuthority": "0x0000000000000000000000000000000000000a07",
  "objectKind": "service-call",
  "obligationKinds": [
    {
      "code": 1,
      "label": "result",
      "description": "the deliverable reaches the agreed output"
    },
    {
      "code": 2,
      "label": "process",
      "description": "the agreed steps were performed"
    },
    {
      "code": 3,
      "label": "limit",
      "description": "the provider acts within the agreed limits (at most one charge per call)"
    },
    {
      "code": 4,
      "label": "statistical-quality",
      "description": "quality over an agreed sample"
    }
  ],
  "methods": [
    {
      "obligationKind": 3,
      "qType": "FORMAL",
      "method": "0x0000000000000000000000000000000000000f01",
      "params": "0x00000000000000000000000000000000000000000000000000000000000e5c20",
      "paramsMeaning": "the settlement ledger (the escrow)",
      "onUndetermined": "NOT_SUSTAINED",
      "supports": [
        "computed"
      ],
      "trustAssumptions": [
        "the ledger records every settlement"
      ],
      "onFailure": "UNDETERMINED for a proposition the verifier was not built to decide"
    },
    {
      "obligationKind": 1,
      "qType": "JUDGED",
      "method": "0x0000000000000000000000000000000000000f02",
      "params": "0x8789bdc4566a6c2682399f4f515d535cdff681b317a9b827abb91c999e26b581",
      "paramsMeaning": "the ERC-8436 policy of the 2-of-3 roster",
      "onUndetermined": "NO_DECISION",
      "supports": [
        "judged"
      ],
      "trustAssumptions": [
        "the roster is independent of the parties as declared in the judgment section"
      ],
      "onFailure": "UNDETERMINED when the issue ends in NoDecision; TIMEOUT when nobody imports in time"
    },
    {
      "obligationKind": 0,
      "qType": "EVIDENCED",
      "method": "0x0000000000000000000000000000000000000f03",
      "params": "0xc028c48c12d3031fbf5ce8e032eeba532b52b20da95920e4fc89d1942f533baf",
      "paramsMeaning": "the attestor panel (2 of 3)",
      "onUndetermined": "NO_DECISION",
      "supports": [
        "signed",
        "evidenced"
      ],
      "trustAssumptions": [
        "the panel attests honestly what it observed"
      ],
      "onFailure": "UNDETERMINED below quorum"
    },
    {
      "obligationKind": 1,
      "qType": "FORMAL",
      "method": "0x0000000000000000000000000000000000000f04",
      "params": "0x00000000000000000000000000000000000000000000000000000000000e5c20",
      "paramsMeaning": "the service whose committed and declared versions are compared",
      "onUndetermined": "NOT_SUSTAINED",
      "supports": [
        "computed"
      ],
      "trustAssumptions": [
        "the escrow records the committed and the declared version"
      ],
      "onFailure": "UNDETERMINED before delivery or for a proposition the verifier was not built to decide"
    }
  ],
  "evaluationConfigs": [
    {
      "appliesTo": "statistical-quality obligations (kind 4)",
      "unit": "the batch named by the terms",
      "sampleSelection": "the sample fixed in the terms before the batch ran",
      "versionScope": "the committed version only",
      "metric": "the metric named in the terms",
      "threshold": "the threshold named in the terms",
      "uncertainty": "reported with the finding; a result inside the stated confidence band is UNDETERMINED"
    }
  ],
  "effects": [
    {
      "id": "0xe074020771795b0306209d2eb94e35a28bef8f823d7e65825aa3c0757e4626a9",
      "label": "refund",
      "category": "SUBSTANTIVE",
      "description": "one charge of the call (payment claims) or the call amount (delivery claims) moves from the provider balance to the client balance"
    },
    {
      "id": "0x227ba5e1bfc45ac9adbe773aa1a71a3937453a1ff3a6bb1660ed7138f9936edc",
      "label": "fee-split",
      "category": "PROCEDURAL_ECONOMIC",
      "description": "the procedure fee is allocated per the economic declaration"
    }
  ],
  "track": {
    "filingWindow": 604800,
    "acceptanceWindow": 172800,
    "evidenceWindow": 259200,
    "decisionWindow": 432000,
    "reviewWindow": 172800,
    "maxReviews": 1,
    "reviewTypes": [
      "fact",
      "evidence",
      "rule-application"
    ],
    "reviewMode": "PRESERVE_UNLESS_OVERTURNED",
    "maxTotalDuration": 1036800,
    "enactmentMargin": 86400,
    "optimistic": false,
    "answerWindow": 0,
    "silenceRule": "NONE"
  },
  "standing": "BENEFICIARIES",
  "resultProfile": "adrf:result/v1",
  "evidenceRules": [
    {
      "appliesTo": "EVIDENCED sub-questions",
      "provisionDuty": "the party relying on a fact provides the material to the panel within the evidence window",
      "access": "content-addressed URI readable by the panel and the counterparty",
      "verificationPeriod": "until the evidence window closes",
      "closeOfEvidence": "admittedAt + evidenceWindow",
      "onFailureToProvide": "the panel attests what it can; failure to provide is not proof of the allegation"
    }
  ],
  "burden": [
    {
      "claimKind": "payment (limit)",
      "whoProves": "the claimant, by running the verifier over the pinned call",
      "threshold": "the verifier returns TRUE",
      "onShortfall": "NOT_SUSTAINED"
    },
    {
      "claimKind": "delivery (result)",
      "whoProves": "the roster forms a judgment",
      "threshold": "2 of 3",
      "onShortfall": "NO_DECISION"
    },
    {
      "claimKind": "declared version (result, formal)",
      "whoProves": "the claimant, by running the version verifier",
      "threshold": "declared differs from committed",
      "onShortfall": "NOT_SUSTAINED"
    },
    {
      "claimKind": "version actually used (result, evidenced)",
      "whoProves": "the attestor panel on the material provided",
      "threshold": "2 of 3",
      "onShortfall": "NO_DECISION"
    }
  ],
  "economicDeclaration": {
    "arrangements": [
      {
        "name": "fee split on closure",
        "instrument": "the escrow fee balance of the call",
        "executor": "ADRFServiceEscrow (the source)",
        "purposes": [
          "cost bearing"
        ],
        "flows": {
          "Sustained": "the procedure fee is borne by the provider",
          "NotSustained": "the procedure fee is borne by the client",
          "NoDecision": "the procedure fee is split equally",
          "Expired": "the procedure fee is returned"
        },
        "onFailure": "reported Failed; no other balance is touched",
        "effectId": "0x227ba5e1bfc45ac9adbe773aa1a71a3937453a1ff3a6bb1660ed7138f9936edc"
      }
    ],
    "assumptions": [
      "bonds are not required under this policy; the escrow balances are the only funds involved",
      "receiving or bearing the fee proves no fact and is not a finding of wrongdoing"
    ],
    "note": "Illustrative; adopters declare their own arrangements."
  },
  "judgment": {
    "acdfRegistry": "0x00000000000000000000000000000000000acdf0",
    "acdfPolicyId": "0x8789bdc4566a6c2682399f4f515d535cdff681b317a9b827abb91c999e26b581",
    "independence": "no roster member is the client, the provider or an operator of either",
    "selection": "fixed roster declared in the ERC-8436 policy",
    "appealStanding": "ANYONE (ERC-8436 policy); third parties may appeal at the source"
  }
}
