| Internet-Draft | Calibration Attestation | December 2026 |
| Chandra | Expires 4 June 2027 | [Page] |
An agent can report confidence in a prediction or decision. A relying party that receives a confidence estimate also needs to know which outcomes were measured, who observed them, and how well earlier estimates matched the results.¶
This document specifies the Calibration Attestation (CalAt): a signed, portable, machine-verifiable claim about how closely a subject agent's stated confidences matched its confirmed outcomes, issued by a settlement authority that observed those outcomes. A CalAt binds a calibration summary (expected calibration error over a recency-weighted window) and the per-band record behind it to a subject DID, an issuer DID, a confirmation-predicate class, and a derivation commitment anchoring the claim to an auditable outcome trail. The document defines the attestation object, its encoding, issuance and verification procedures, freshness and decay semantics, revocation, and the procedure by which a relying party converts one or more CalAts into a vote weight for weighted decision protocols. The format is transport-agnostic and is intended for carriage in NANDA-aligned agent registries, A2A capability announcements, and equivalent discovery systems.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 4 June 2027.¶
Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document.¶
Discovery infrastructure for autonomous agents (NANDA-aligned registries, A2A capability announcements, MCP tool directories) answers who an agent is and what it claims to do. How much its judgment should be believed is answered, where it is answered at all, by a quality field the agent wrote about itself, by aggregated feedback, by stake, or by rankings on one operator's own tasks. None known to the author is a statement about the agent's judgment that a relying party in another organization can verify and recompute. A self-written quality field is an assertion rather than evidence; the companion paper [EARNED] documents a working self-inflation exploit against exactly such a field.¶
Progressive Trust [SOOSPT] measures agreement between declared confidence and policy decisions to permit or deny an action. A policy decision and a later observed result answer different questions. This specification binds the confirmation rule to the signed record so that a consumer can identify which result was measured before pooling records.¶
Calibration is the agreement between an actor's stated confidence and its realized correctness, settled against confirmed outcomes. Weighting judgment by measured calibration is not new: it has been used to pool expert opinion for decades [COOKE]. Calibration alone is also not enough. An actor that states the same middling confidence for everything can be perfectly calibrated and tell a decision nothing, so a weight built on calibration alone can be earned without being useful. What is costly to counterfeit is a good score under a proper scoring rule, which is minimized only by stating the true probability and rewards being right as well as being honest about how often. This document standardizes the artifact by which one party (an issuer that observed and settled outcomes) attests to another party's calibration, such that a third party (a relying party) can verify the claim without access to the underlying telemetry, and convert it into a vote weight in weighted decision protocols. The claim carries a calibration summary and the per-band record behind it; from that record a relying party recomputes the summary and derives the proper score itself (Section 8).¶
A subject that is usually right but wildly overconfident scores badly, and so does one that is chronically underconfident. That is deliberate: what a relying party needs to know before it lets a stated confidence move a decision is whether that confidence can be taken at face value, and Section 8.4 uses the attested record to translate it when it cannot.¶
This document does not define the decision protocol that consumes the multiplier, the confirmation predicates by which outcomes are settled (these are domain profiles; see Section 4.4), or an identity system. Subjects and issuers are identified by Decentralized Identifiers (DIDs) [DIDCORE]; key resolution and authority renewal, including under network partition, are the province of the identity layer and the companion draft [RENEWAL].¶
A valid CalAt proves that a specific issuer key attested to a calibration summary and a commitment to the underlying records. A relying party can recompute the expected calibration error from the signed summary when the issuer includes the per-band distribution (dist). It does not prove that the underlying decisions or their outcomes happened, or that the issuer's settlement process was honest. Section 14.3 states what a relying party can and cannot do about that. Two predicate classes have a fully specified confirmation-predicate profile (Appendix G). Under a class without one, a CalAt is a container for a trust signal rather than a complete trust system (Appendix E).¶
Nothing in the object or its verification depends on what kind of work the subject does. What a domain must supply is a predicate class, and a class can be defined wherever three things hold:¶
The third is where a profile is most easily wrong. Calibration is computed over settled outcomes only, so any path by which a subject can turn an unfavourable outcome into no outcome is a path to a better record than it earned. A profile MUST treat every such path as an incorrect outcome and reserve abstention for causes outside the subject's control.¶
These conditions hold for work whose results are checked by machines or recorded by a platform: a change to software and the checks run on it, an offer and the order record that follows it. Appendix G profiles one class of each kind. They do not hold where the only judge of an outcome is opinion; such work is out of scope until it has a confirmation predicate.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
Subject: The agent (human-operated service, autonomous runtime, or ML model endpoint) whose calibration is attested, identified by a DID.¶
Issuer: The settlement authority that observed the subject's confidence claims and confirmed the corresponding outcomes, identified by a DID.¶
Relying Party (RP): Any entity consuming a CalAt to weight the subject's influence.¶
Confidence Claim: A value in [0,1] stated by the subject at decision time, predicting the correctness of a position it took.¶
Confirmed Outcome: A ground-truth settlement event produced by an issuer-operated confirmation predicate: correct, incorrect, or abstained.¶
Calibration Sample: The pair (confidence claim, outcome indicator) for one settled decision. Abstained outcomes MUST NOT produce samples.¶
Settled-Decision Record: The issuer's record of one calibration sample: the confidence claim, the outcome indicator, the settlement time, and optionally a decision identifier (Section 4.3).¶
ECE: Expected Calibration Error [GUO] computed over binned calibration samples (Section 6.2).¶
Predicate Class: An identifier naming the family of confirmation predicates under which the samples were settled (Section 4.4).¶
Derivation Commitment: A cryptographic commitment (Merkle root) over the ordered settled-decision records from which the attestation was computed.¶
Numbers in formulas are real numbers unless a section says otherwise. "Epoch seconds" means seconds since 1970-01-01T00:00:00Z, ignoring leap seconds. "base64url" means the URL-safe alphabet of [RFC4648], Section 5, without padding.¶
A CalAt is a three-party artifact:¶
Subject --votes with confidence--> Issuer's decision system
| confirms outcomes
| accumulates samples
v
Issuer signs CalAt(subject)
|
v
Relying Party <--presents/discovers-- Registry / Subject
¶
The RP's trust in a CalAt reduces to (a) trust in the issuer's settlement integrity for the stated predicate class, and (b) cryptographic verification of the object. This document makes (b) mechanical; (a) is an RP policy decision, aided by the derivation commitment (Section 4.3), which allows an authorized auditor to demand the receipts behind any attestation. Issuers MUST NOT issue CalAts for subjects whose samples they did not themselves settle.¶
A subject MAY hold CalAts from multiple issuers; aggregation is specified in Section 11.¶
A CalAt is a JSON object [RFC8259] with the following members. All members are REQUIRED unless stated otherwise. A CalAt MUST NOT carry a member this section does not define, at any level; a verifier rejects one that does (Section 7, step 1). Appendix A gives the structure in CDDL [RFC8610].¶
cav (string): CalAt version. This document defines "1".¶
aid (string): Attestation identifier, unique per issuer. RECOMMENDED: UUIDv7 [RFC9562].¶
sub (string): Subject DID.¶
iss (string): Issuer DID.¶
iat (integer): Issuance time, epoch seconds.¶
exp (integer): Expiry time (Section 9). MUST be greater than iat. Issuers MUST NOT set exp - iat greater than 90 days (7776000 seconds).¶
prc (string): Predicate class identifier (Section 4.4).¶
cal (object): Calibration payload (Section 4.2).¶
der (object): Derivation commitment (Section 4.3).¶
sig (object): Signature structure (Section 5).¶
cal.n (integer): Number of calibration samples in the window. MUST be at least 1, and MUST equal the number of settled-decision records committed by der.root.¶
cal.win (object): The sampling window. win.t0 and win.t1 (integers) are its epoch-second bounds; t1 MUST be less than or equal to iat. win.half_life (integer) is the recency half-life in seconds used for sample weighting (Section 6.2); 0 indicates unweighted.¶
cal.ece (number): Recency-weighted Expected Calibration Error in [0,1], computed per Section 6.2, rounded to no more than 6 decimal places.¶
cal.bins (integer): Number of equal-width confidence bins used. MUST be at least 5. RECOMMENDED: 10.¶
cal.acc (number, OPTIONAL): Weighted accuracy over the window, in [0,1]: the sum over samples of weight times outcome, divided by the total weight, with the weights of Section 6.2. Informational; RPs MUST NOT substitute acc for ece in the multiplier derivation.¶
cal.dist (array, OPTIONAL): Per-bin triples, permitting RP-side recomputation of ece and detection of pathological distributions (for example, all mass in one bin).¶
When present, dist MUST contain exactly bins entries, one per bin in bin order starting with the bin whose lower edge is 0, including empty bins. Each entry is an array of three numbers in [0,1]: the bin's weight, its weighted mean confidence, and its weighted mean outcome. The weight is the bin's share of the total sample weight (W_b divided by the sum of all W_b in Section 6.2), so the weights sum to 1. A weight is not a sample count; an issuer that holds counts converts them to shares before publishing, and MUST NOT present counts as dist. An empty bin is the triple [0, 0, 0]. The values of dist are not rounded: an issuer publishes them at the precision it computed them, and RFC 8785 fixes how each is written.¶
Issuers SHOULD include dist in every CalAt. A CalAt without dist is well-formed and can verify, but its ece is then issuer-asserted and not recomputable, and none of the quantities Section 8 derives from dist exist. An RP MUST NOT record such a CalAt as having passed the consistency check of Section 7, step 7, SHOULD log that the check could not be performed, and MUST NOT derive from it a weight above that of an unattested subject (Section 8.3).¶
When both acc and dist are present, acc equals the sum over bins of weight times mean outcome, and an RP MAY check it. acc cannot be recomputed without dist.¶
der.alg (string): Hash algorithm. This document registers "sha-256".¶
der.root (string): base64url encoding of the Merkle root over the settled-decision records contributing samples, as defined below.¶
der.trail (string, OPTIONAL): URI at which an authorized auditor can obtain inclusion proofs against der.root.¶
A settled-decision record is a JSON object with these members: c (number), the confidence claim; t (integer), the settlement time in epoch seconds; y (integer), 1 for a correct outcome and 0 for an incorrect one; and id (string, OPTIONAL), a decision identifier, unique within the issuer for one subject, by which the same decision can be recognized on both sides of a partition (Section 13). Issuers SHOULD assign id. A settled-decision record is not a member of the CalAt object; it is what der.root commits to.¶
The leaf input for a record is its JCS serialization [RFC8785], encoded as UTF-8. The tree is the Merkle hash tree of [RFC9162], Section 2.1.1, using SHA-256: a leaf hash is the hash of the octet 0x00 followed by the leaf input; an interior node is the hash of the octet 0x01 followed by the left child hash and the right child hash; and a tree of n leaves, n greater than 1, splits at the largest power of two strictly less than n. Inclusion proofs are those of [RFC9162], Section 2.1.3. The construction is the one Certificate Transparency has used since its first version. This document borrows that construction only. It is not a Certificate Transparency log, and no interoperation with Certificate Transparency clients or data structures is claimed.¶
The leaves are the records in the order the issuer appended them to its audit trail, which is settlement order. An issuer MUST NOT reorder records when it computes a root; Section 13 gives the ordering rule used on reissue after a partition heals and describes its behavior when records tie.¶
The commitment makes every CalAt a proof obligation: an issuer challenged on an attestation MUST be able to produce, to an authorized auditor, the settled-decision records and inclusion proofs reconstructing cal.ece from der.root. RPs MUST treat verification failure of a demanded derivation as grounds to distrust the issuer (Section 14.3).¶
Calibration is only comparable within a family of settlement predicates. prc is a lowercase reverse-DNS-style token naming that family. Initial registry entries (Section 16):¶
nanda.orbital.maneuver: post-burn orbit determination within tolerance and conjunction screening clear at window close.¶
nanda.spectrum.compliance: regulatory margin held over the observation interval.¶
nanda.ml.retrain-gate: post-deployment evaluation exceeding a pre-registered bar.¶
nanda.code.test-outcome: a proposed change passes the target checks, run as they stood before the change (Appendix G.1).¶
nanda.commerce.fulfilment: an offer is honoured as stated, in price and delivery time, per the platform's order record (Appendix G.2).¶
RPs MUST NOT apply a CalAt issued under one predicate class to weight decisions of an unrelated class unless local policy explicitly maps them; the mapping and its rationale SHOULD be logged.¶
A predicate class is only as meaningful as its definition. A registration (Section 16) MUST therefore state the confirmation predicate (what is measured, against what threshold, over what window, and what settles as abstained), the settlement source (the telemetry or record the predicate reads, and who operates it), and the minimum-evidence floor (Section 6.3). A registration MUST also state, for each way an outcome can fail to settle, whether the subject can cause it; a cause within the subject's control MUST settle as incorrect and not as abstained (Section 1.3). The last two entries above are specified to that standard in Appendix G. The first three name their predicates in one line each and are not yet (Appendix E).¶
The signing input is the JSON object with the sig member removed, canonicalized per JCS [RFC8785], encoded as UTF-8. Appendix C.3 gives a worked signing input.¶
The sig object contains:¶
alg (string): "ed25519" (REQUIRED to implement; Ed25519 as in [RFC8032]) or "es256".¶
kid (string): A DID URL identifying a verification method in the issuer's DID document.¶
val (string): base64url encoding of the signature over the canonical signing input.¶
The DID of kid, that is, the part of kid before any #, MUST equal iss. A verifier MUST reject a CalAt whose kid names a verification method under any other DID, before attempting to resolve it. Without this rule a CalAt signed by any resolvable key would verify while naming a trusted issuer in iss (Section 14.5).¶
Verifiers MUST resolve kid through the issuer's DID document and MUST reject the CalAt if resolution fails, if the key is not authorized for assertion, or if signature verification fails. There is no fail-open mode: an unverifiable CalAt is an absent CalAt.¶
DID resolution is the identity layer's concern, and a verifier supplies the resolver for the DID methods it accepts. The reference resolver for this document's test vectors is did:key [DIDKEY] with an Ed25519 key: the public key is carried in the DID itself, so resolution needs no network access, and the single key a did:key DID names is authorized for assertion. A conformant implementation MUST be able to verify the did:key vectors of Appendix C. The optional es256 identifier has no signature encoding or conformance vector in this revision (Appendix E).¶
For each decision in which the subject participated with a confidence claim c, upon settlement by the confirmation predicate the issuer records sample (c, y) with y = 1 (correct) or y = 0 (incorrect), timestamped at settlement, as a settled-decision record (Section 4.3). Abstained settlements record no sample. Sample records MUST be committed to the issuer's audit trail before they may contribute to any CalAt.¶
At issuance time t_iss, each sample i with settlement time t_i receives weight¶
w_i = 2^( -(t_iss - t_i) / half_life ) (half_life > 0) w_i = 1 (half_life = 0)¶
Samples are partitioned into bins equal-width confidence bins over [0,1]. Bins are half-open: bin b, counting from 0, holds the confidences c with b/bins <= c < (b+1)/bins, except that the final bin is closed at its upper edge so that a confidence of exactly 1 has a bin. The bin index of a confidence c MUST be computed as¶
b = min( floor( c * bins ), bins - 1 )¶
with the product c * bins evaluated in IEEE 754 binary64 arithmetic [IEEE754], round-to-nearest-even. The rule is stated as an operation and not only as an interval because the two disagree at the edges of floating-point arithmetic, and an implementation that computes the index another way (for example, by dividing c by a precomputed bin width) places confidences such as 0.3, 0.6 and 0.7 one bin too low at bins = 10. Appendix C.5 gives boundary cases.¶
For bin b with total weight W_b, weighted mean confidence conf_b, and weighted mean outcome acc_b:¶
ece = sum over b of ( W_b / W ) * | conf_b - acc_b | W = sum over b of W_b¶
An empty bin has W_b = 0 and contributes nothing to the sum.¶
Issuers MUST compute ece exactly as above for the stated bins and half_life, enabling RP recomputation from dist: with dist entries (weight_b, conf_b, acc_b), ece is the sum over entries of weight_b times the absolute value of conf_b minus acc_b.¶
Note: for a fixed set of samples, ece does not depend on t_iss. Moving t_iss later multiplies every w_i by the same factor, which cancels in W_b / W and in the weighted means. Reissuing a CalAt over the same samples therefore produces the same ece with a later iat; it does not refresh the evidence, and only new settled decisions change the value. Implementers should not treat this as a defect, and RPs should not read a recent iat on its own as recent evidence: win and n say what the evidence is, and Section 9 ages it from iat.¶
Issuers MUST NOT issue a CalAt with cal.n below a per-predicate-class floor (registry default: 10). Below the floor, the subject is unattested and RPs apply the new-entrant prior (Section 8).¶
An RP presented with a CalAt MUST perform, in order:¶
cav is "1"; exp - iat is positive and at most 90 days; n >= 1; bins >= 5; ece and acc in [0,1]; t1 <= iat; der.alg and sig.alg registered); and, when dist is present, it has exactly bins entries, each an array of three numbers in [0,1].¶
sig.kid equals iss, kid resolves through the issuer's DID document to a key authorized for assertion, and the signature verifies over the canonical signing input.¶
exp; current time minus iat is within RP freshness policy (Section 9).¶
sub equals the DID of the agent whose influence is being weighted, as authenticated at the transport or protocol layer. A CalAt presented by a party that cannot prove control of sub MUST be ignored.¶
prc matches, or is policy-mapped to, the decision class at hand (Section 4.4).¶
iss is on the RP's accepted-issuer list for prc, or satisfies the RP's issuer-trust policy.¶
dist is present): the weights of dist sum to 1 within a tolerance of bins times 1e-6; and ece recomputed from dist (Section 6.2) equals cal.ece within a tolerance of 1e-6. Reject on either mismatch. When dist is absent this step cannot be performed (Section 4.2).¶
A CalAt that passes all seven steps is then subject to the revocation check of Section 10.¶
A CalAt failing any step MUST be treated as absent, and the failure SHOULD be logged with the failing step. Verification failures MUST NOT reduce the subject's standing by themselves; absence of evidence is the prior, not a penalty (but see Section 10 on revocation).¶
An RP operating a weighted decision protocol converts a verified CalAt into a weight. Every quantity in this section is computed from members the CalAt already carries: ece, n, iat and dist. Appendix C.9 gives worked values, and Appendix F summarizes the evaluation behind the recommendations.¶
RPs MUST NOT accept a multiplier, standing score, or equivalent influence value asserted directly by the subject.¶
Binned ECE is noisy and biased upward when samples are few (Section 14.7). The RP first pulls the attested value toward the new-entrant ECE by a pseudo-count k (RECOMMENDED default: 30):¶
ece_s = ( n * ece + k * ece_prior ) / ( n + k )¶
and then ages ece_s per Section 9 to obtain ece_eff.¶
ECE says how well a subject's stated confidence matches its results. It does not say whether the subject is any use: a subject that states its long-run hit rate for every decision has an ECE near zero whether that hit rate is 0.9 or 0.5. The Brier score [BRIER], the mean squared difference between stated confidence and outcome, is a proper scoring rule and does say. From dist entries (weight_b, conf_b, acc_b), with base = the sum over b of weight_b * acc_b, the RP computes the three terms of its decomposition [MURPHY]:¶
reliability = sum over b of weight_b * ( conf_b - acc_b )^2 resolution = sum over b of weight_b * ( acc_b - base )^2 uncertainty = base * ( 1 - base ) brier = reliability - resolution + uncertainty skill = sqrt( max( 0 , 1 - brier / 0.25 ) )¶
0.25 is the Brier score of stating 0.5 on a two-way decision, the forecast of a party that knows nothing; skill is the square root of the Brier skill score against that reference, in [0,1]. For a calibrated subject that is right with probability a, skill is 2a - 1, its accuracy above chance. Miscalibration in either direction lowers it, a subject no better than a coin scores 0, and so does one that is confidently wrong.¶
The reference is a coin and not the subject's own base rate, because a subject that is right nine times in ten and says so is valuable even though its confidence never varies.¶
base = clamp( 1 - lambda * ece_eff , cal_min , 1 ) cal_mult = clamp( base * ( (1 - s) + s * skill ) , cal_min , 1 )¶
where lambda is an RP policy parameter (RECOMMENDED default: 1.0), cal_min > 0 is a floor preserving a recovery path for poorly performing subjects (RECOMMENDED default: 0.1), and s in [0,1] is the share of the multiplier that has to be earned by skill (RECOMMENDED default: 1).¶
With s = 0 the multiplier depends on ECE alone; this is the formula of earlier revisions of this document. It is NOT RECOMMENDED: in the evaluation of Appendix F it was no better than counting votes in five of seven populations.¶
For an unattested subject (no valid CalAt for the applicable predicate class, or one without dist), RPs MUST apply the new-entrant multiplier: the formula above with ece_eff = ece_prior (RECOMMENDED default: 0.25) and skill = skill_prior (RECOMMENDED default: 0). At the recommended defaults the new-entrant multiplier equals cal_min. The new-entrant value SHOULD be strictly less than the multiplier a well-performing attested subject would earn, so that discarding an identity to escape a poor record forfeits earned influence (mitigating identity-rotation laundering; see Section 14.4).¶
The multiplier is one number per subject. Where votes carry a stated confidence, an RP MAY instead weight each vote by that confidence, after reading it through the subject's own record. dist is that record: for each band of stated confidence, how often the subject was right. For a vote stating confidence c, let b be the bin of c (Section 6.2) and n_b = weight_b * n. Then, with a pseudo-count r (RECOMMENDED default: 10):¶
believed = ( n_b * acc_b + r * 0.5 ) / ( n_b + r ) p = min( believed , 0.99 ) weight = ln( p / (1 - p) ) if p > 0.5 weight = 0 otherwise¶
For independent, calibrated voters, summing the log-odds of their confidences is the optimal way to combine them; recalibrating first is what makes that safe when a stated confidence cannot be taken at face value. A band the subject has never used has n_b = 0 and yields believed = 0.5, so a confidence the subject has no record of using earns no weight, whatever it claims. A recalibrated confidence at or below 0.5 earns no weight; it MUST NOT be counted as a vote for the other side. For an unattested subject, believed is a fixed value in [0.5, 1) (RECOMMENDED default: 0.55) regardless of what is stated.¶
An RP uses the multiplier of Section 8.3 or the per-vote weight of this section as the weight of a vote. An RP SHOULD NOT weight a vote by its stated confidence without recalibration, with or without the multiplier in front of it: a floor on the multiplier times the log-odds of a stated 0.99 is still a large weight (Appendix F).¶
Calibration evidence is perishable. Two mechanisms enforce this:¶
Hard expiry: after exp, the CalAt is invalid (Section 7, step 3).¶
Soft staleness decay: for a valid CalAt of age a = now - iat, the RP computes, from the shrunk value ece_s of Section 8.1,¶
ece_eff = ece_s + (ece_prior - ece_s) * ( 1 - 2^( -a / D ) )¶
with ece_prior the new-entrant ECE (default 0.25) and D the RP's staleness half-life (RECOMMENDED default: 30 days). An aging attestation thus converges toward the uninformative prior rather than remaining fully potent until a cliff. Subjects maintain standing by continuing to participate in settled decisions, prompting reissuance.¶
Issuers MUST publish a revocation mechanism and reference it from their DID document service endpoints. Implementations MUST support the status list defined in this section; RPs SHOULD check status at verification time and MUST check it for decisions in the highest irreversibility class of the applicable domain profile.¶
An issuer's status list is a JSON object with these members, and no others:¶
slv (string): Status list version. This document defines "1".¶
iss (string): The issuer DID.¶
iat (integer): The time the list was produced, epoch seconds.¶
nxt (integer, OPTIONAL): The time by which the issuer will have published a newer list. MUST be greater than iat.¶
rev (array): The revocations. Each entry is an object with exactly the members aid (string), the identifier of the revoked CalAt; rsn (string), a reason code from the registry of Section 16; and at (integer), the revocation time in epoch seconds. An aid MUST NOT appear twice. Entries SHOULD be in ascending order of aid.¶
sig (object): As in Section 5, over the JCS serialization of the list with sig removed. The DID of sig.kid MUST equal the list's iss.¶
The list is served as application/json. An issuer whose DID method supports services references the list from a service entry of type CalAtStatusList whose serviceEndpoint is an HTTPS URL. For a DID method without service endpoints, such as did:key, the RP configures the list's location alongside its accepted-issuer list.¶
An issuer MUST keep a revoked aid on the list until the revoked CalAt's exp has passed, and MAY drop it afterwards. Because exp - iat is at most 90 days, the list is bounded by 90 days of revocations.¶
To check the status of a verified CalAt, an RP obtains the issuer's status list and MUST confirm that it is well-formed as above; that its iss equals the CalAt's iss; that its signature verifies as in Section 5; that its iat is not in the future; and, when nxt is present, that the current time is less than nxt. A CalAt whose aid appears in rev is revoked and MUST be treated as absent.¶
These checks authenticate the list as of its issuance. With nxt absent, they impose no upper bound on the list's age. They also permit an earlier signed list to pass after the RP has seen a newer one, provided the earlier list otherwise passes the checks. Replaying a list issued before a revocation can therefore hide that revocation while the CalAt is unexpired (Appendix E).¶
A list that cannot be obtained or fails any of these checks tells the RP nothing. It MUST NOT be read as showing that no CalAt is revoked. Where the status check is mandatory, the RP MUST treat the CalAt as absent; elsewhere the RP applies local policy and SHOULD log that status was not checked.¶
An issuer MUST revoke a CalAt upon discovering settlement corruption (falsified outcomes, trail integrity failure) affecting its samples. Revocation for cause SHOULD carry the matching reason code from the registry established in Section 16: settlement-fraud, trail-integrity-failure, issuer-key-rotation, or administrative.¶
A CalAt revoked with reason settlement-fraud where the subject is implicated MAY be treated by RP policy as adverse evidence. This is the only case in this document in which the absence or revocation of an attestation may lower a subject's standing; every other absence, including every verification failure and every other reason code, leaves the subject at the new-entrant prior (Section 7).¶
A subject holding valid CalAts from k issuers for the same predicate class may have them combined by the RP:¶
ece_agg = ( sum over j of n_j * ece_eff_j ) / ( sum over j of n_j )¶
that is, the sample-count-weighted mean of staleness-adjusted ECEs, applied per issuer-trust policy.¶
That mean is not the ECE of the pooled samples: within a bin, one issuer may have seen the subject overconfident and another underconfident, and the two offset when pooled and do not when averaged. When every contributing CalAt carries dist with the same number of bins, RPs SHOULD instead pool the tables and recompute. With n_j the (capped) sample count of issuer j and (weight_jb, conf_jb, acc_jb) its entry for bin b:¶
m_b = sum over j of n_j * weight_jb weight_b = m_b / ( sum over j of n_j ) conf_b = ( sum over j of n_j * weight_jb * conf_jb ) / m_b acc_b = ( sum over j of n_j * weight_jb * acc_jb ) / m_b¶
with an empty bin (m_b = 0) written [0, 0, 0]. ece, the skill of Section 8.2 and the per-vote weight of Section 8.4 are then computed from the pooled table, with n the sum of the n_j. The mean above is the fallback when a table is missing or the bin counts differ.¶
RPs SHOULD cap any single issuer's n_j contribution, so that one issuer with a very large sample count cannot outweigh every other. A cap that reduces every contribution to zero, like an empty set of contributions, yields no valid aggregate: the implementation MUST report that outcome as such, it MUST NOT fail in an uncontrolled way (for example, by dividing by zero), and the RP then applies the new-entrant prior.¶
RPs MUST de-duplicate: if issuers disclose overlapping der.root trails covering the same decisions, overlapping samples MUST be counted once. What an RP can detect on its own is exact overlap. Every CalAt carries its der.root, so two CalAts with the same der.root commit to the same records, and an RP MUST count that set once. Partial overlap, where two different roots share some of their records, cannot be detected from the CalAts: it needs the trails, and der.trail is restricted to authorized auditors (Section 15). Detecting partial overlap is therefore outside what this document requires of an RP; an RP that needs it obtains auditor access or relies on an auditor's statement.¶
Cross-issuer aggregation is the federation primitive by which calibration earned inside one organization becomes portable influence in another, without disclosure of the underlying telemetry.¶
CalAts are transport-agnostic. Profiles anticipated by this document:¶
min_cal_mult SHOULD be evaluated by the registry using the verification and derivation procedures of Sections 7 and 8, never against self-reported values.¶
Settlement continues on both sides of a network partition. On heal, issuers MUST merge sample sets by settlement timestamp and reissue. For a given merged multiset and weighting parameters, the ECE formula is independent of input order. Section 13.2 addresses the order of Merkle leaves. CalAts issued during a partition can remain valid until exp, subject to verification and revocation checks; RPs on the minority side operate on staleness-decayed values per Section 9, which bounds the influence an isolated attestation can carry.¶
A partition gives a subject the chance to state one confidence for a decision on one side and a different confidence for the same decision on the other. The decision identifier id of the settled-decision record (Section 4.3) exists to detect this. It is carried in the record, not in the CalAt object, so it changes nothing on the wire.¶
When the merged records contain two or more records with the same id and different values of c, that is equivocation evidence. The issuer MUST replace those records with a single record for that id, carrying the settled outcome y, the earliest of their settlement times, and the one confidence, of those the subject stated, that is furthest from the outcome: the lowest c if y is 1, the highest if y is 0.¶
The issuer MUST NOT resolve the conflict by choosing a claim on any other basis, and MUST NOT exclude the decision. A neutral choice leaves the subject some chance of the favorable claim, so equivocation stays worth attempting. Exclusion is worse: a subject that expects a decision to go against it could equivocate on purpose and have the decision removed from its record. Earlier editor versions required exclusion; this revision replaces it.¶
Records with the same id and the same c are one decision delivered twice, not equivocation; the issuer MUST keep one of them, with the earliest settlement time. Records without an id cannot be matched and are merged as they are.¶
If records with the same id carry different outcomes y, the disagreement is in the settlement and not only in the subject's claims, and no outcome can be relied on. The issuer MUST exclude every record with that id and SHOULD treat the discrepancy as a trail integrity failure (Section 10.3). This is the only case in which a decision is excluded.¶
Where the issuer can attribute conflicting claims to the subject and a CalAt issued during the partition was computed from one of them, the issuer SHOULD revoke that CalAt with reason settlement-fraud (Section 10).¶
After applying Section 13.1, the issuer orders the resulting records by settlement time t, then by c, then by y, computes der.root over them in that order, and issues a single CalAt. Two distinct decisions can have identical t, c, and y values but different id values. In this case the three-field sort permits either relative order. The leaf inputs differ because they include id, so two merges of the same records can produce different der.root values. The aggregate calibration statistics are the same for this pair in either order.¶
The format is structurally issuer-signed; a subject cannot mint its own standing. RPs enforcing Section 7, step 4, and Section 8 close the residual channel of a subject presenting scores out of band.¶
Overconfidence raises ECE and lowers skill, and is self-defeating. Chronic underconfidence does the same in the other direction.¶
Stating one's long-run hit rate for every decision is the strategy ECE cannot see: it gives an ECE near zero at any level of competence. It is why the multiplier of Section 8.3 is scaled by skill, which such a subject earns only to the extent that its hit rate is above chance, and why the per-vote weight of Section 8.4 reads a stated confidence through the record and not at face value.¶
A subject can also choose when to speak: voting only on decisions it finds easy yields a good record that says little about hard ones. Nothing in a CalAt reveals the decisions a subject declined. An RP that cares SHOULD compare n and win with the number of decisions the subject was eligible for, where it knows that number.¶
A malicious issuer can attest fictional calibration. Mitigations: issuer allow-lists per predicate class (Section 7, step 6), the derivation commitment with auditor-demandable inclusion proofs (Section 4.3), mandatory revocation on settlement corruption (Section 10), and cross-issuer aggregation (Section 11), which dilutes any single issuer. Issuer accountability is ultimately reputational and contractual; this document makes issuer claims auditable, not unconditionally true.¶
Section 8's requirement that the new-entrant multiplier undercut an earned good record prices rotation in foregone influence. Full mitigation additionally requires the identity layer to make DID acquisition non-free, which is out of scope here.¶
An issuer or RP can also look for rotation directly. The following is informative; the signals and thresholds are policy, not wire format. Three signals link a new subject to an earlier one, from strongest to weakest: the same decision identifier appearing in both subjects' settled-decision records, which should not happen since a decision identifier belongs to one subject; the two subjects' CalAts disclosing the same der.root; and the new subject's first activity in a predicate class following closely on the earlier subject's revocation in that class. A policy that scores these signals and finds a new subject linked to earlier ones can decline to give it the new-entrant prior and instead start it from the worst (highest) ECE among the subjects it is linked to, so that rotation gains nothing. The reference implementation does this.¶
aid uniqueness, subject binding (Section 7, step 4), and expiry bound replay. A CalAt is not a bearer instrument: it confers nothing to a presenter that cannot prove control of sub.¶
The signature binds the object to a key, and Section 5 binds the key to iss. Both are needed. A verifier that resolved kid wherever it pointed, and compared iss to its accepted-issuer list separately, would accept a CalAt that an attacker signed with the attacker's own key while writing a trusted issuer's DID in iss. The reference implementation had this defect before this revision; Appendix C.4 includes the forgery as a vector that MUST be rejected.¶
RPs MUST NOT fall back to self-reported quality values when CalAt verification fails; the fallback is the new-entrant prior. Fail-open verification modes are prohibited (Section 5). An unobtainable or unverifiable status list is likewise never evidence of good standing (Section 10).¶
ECE is the summary this document attests, and it has known limits that an RP should weigh. This section is informative.¶
ECE depends on the binning. The same samples give different values for different bins, which is why bins is carried in the object and why CalAts are compared only at equal bins.¶
ECE measures the size of miscalibration within each bin, not its direction, and within a bin overconfident and underconfident samples offset each other in the bin means. A subject that is overconfident on some decisions and underconfident on others at similar stated confidence can show a low ECE.¶
ECE is noisy at small n. With few samples per bin the bin means are themselves uncertain, and the estimate is biased upward. The minimum-evidence floor (Section 6.3) limits this and does not remove it.¶
ECE is not a proper scoring rule and says nothing about whether a subject is right. A subject that states its hit rate for every decision is well calibrated at any level of competence. For that reason this revision does not derive weight from ECE alone: Section 8 derives skill from the Brier score, recomputed from dist. ECE remains the attested summary because it is the quantity step 7 of Section 7 checks, and because it is the part of the record that concerns honesty about confidence specifically.¶
Everything derived from dist inherits its binning. The Brier terms of Section 8.2 are computed from bin means, so they are an approximation of the per-sample score, exact only when confidences within a bin are equal; and the recalibration of Section 8.4 cannot tell apart two confidences in the same bin.¶
A CalAt aggregates a subject's decision record; the format deliberately discloses summary statistics, not per-decision data. dist reveals the shape of a subject's confidence behavior. An issuer MAY omit it, at the cost Section 4.2 states: the CalAt then earns no more weight than no CalAt. The der.trail URI MUST be access-controlled; inclusion proofs reveal settled-decision records and are for authorized auditors, not the public. Issuers SHOULD consider whether window bounds plus sample counts permit inference of a subject's activity level, and MAY coarsen win timestamps to day granularity. dist, win and n together can indicate how active a subject has been and at what confidence it tends to act; coarsening win and omitting dist are the two controls this document gives an issuer. Subjects are software actors, but their records can implicate the humans and organizations operating them; publication of CalAts in open registries is a policy decision of the subject's operator.¶
The status list (Section 10) discloses which attestation identifiers were revoked, when, and for what class of reason. It does not name the subject; an aid is linkable to a subject only by a party that has seen the CalAt.¶
This document requests establishment of three registries under a "Calibration Attestation" heading (policy: Specification Required):¶
nanda.code.test-outcome and nanda.commerce.fulfilment the specification is Appendix G of this document, the settlement sources are respectively the operator of the checks and the order or payment platform, and the floor is the default.¶
ed25519, es256.¶
settlement-fraud, trail-integrity-failure, issuer-key-rotation, administrative.¶
This document also uses the DID document service type CalAtStatusList (Section 10).¶
The structure of the CalAt object, the settled-decision record and the status list, in CDDL [RFC8610] applied to JSON. A map lists every member its object may carry. The prose states the rules CDDL does not: exp after iat and within 90 days, t1 at most iat, the number of dist entries equal to bins, the weights of dist summing to 1, the DID of kid equal to iss, and uniqueness of aid within a status list. The CalAt object is unchanged from the earlier editor version; the numeric members are written here in a form that also admits the integers 0 and 1, which is how JCS writes 0.0 and 1.0.¶
; Calibration Attestation (CalAt), cav "1", applied to JSON.
calat = {
cav: "1",
aid: text,
sub: did-uri,
iss: did-uri,
iat: uint,
exp: uint,
prc: text,
cal: cal-payload,
der: derivation,
sig: signature
}
cal-payload = {
n: uint .ge 1,
win: { t0: uint, t1: uint, half_life: uint },
ece: unit-interval,
bins: uint .ge 5,
? acc: unit-interval,
? dist: [+ [weight: unit-interval,
conf: unit-interval,
acc: unit-interval]]
}
derivation = {
alg: "sha-256",
root: base64url,
? trail: uri-text
}
signature = {
alg: "ed25519" / "es256",
kid: text,
val: base64url
}
; A settled-decision record: the Merkle leaf behind der.root.
; Not a member of the CalAt object.
settled-record = {
c: unit-interval,
t: uint,
y: 0 / 1,
? id: text
}
; The issuer's revocation status list.
status-list = {
slv: "1",
iss: did-uri,
iat: uint,
? nxt: uint,
rev: [* revocation],
sig: signature
}
revocation = {
aid: text,
rsn: text, ; a registered revocation reason code
at: uint
}
; JCS writes 0.0 as 0 and 1.0 as 1, so both forms are admitted.
unit-interval = 0.0..1.0 / 0 / 1
did-uri = text .regexp "did:.+"
base64url = text .regexp "[A-Za-z0-9_-]+"
uri-text = text ; a URI, as a JSON string
¶
An illustrative CalAt. The cal payload is exact and reproduces under Section 6.2 and Section 7, step 7; der.root and sig.val are placeholders, and the identifiers are did:web examples that the test vectors do not use. Appendix C gives a CalAt that verifies end to end.¶
{
"cav": "1",
"aid": "018f3c2e-9a41-7cc3-b7f2-5e8d1a6b2c90",
"sub": "did:web:fleet.example.com:agents:sat-eol-7",
"iss": "did:web:ops.example.com:settlement",
"iat": 1785110400,
"exp": 1792886400,
"prc": "nanda.orbital.maneuver",
"cal": {
"n": 142,
"win": {
"t0": 1769472000,
"t1": 1785110400,
"half_life": 2592000
},
"ece": 0.0192,
"bins": 10,
"acc": 0.7875,
"dist": [
[0.0, 0.0, 0.0],
[0.02, 0.12, 0.1],
[0.0, 0.0, 0.0],
[0.05, 0.31, 0.29],
[0.0, 0.0, 0.0],
[0.09, 0.52, 0.55],
[0.0, 0.0, 0.0],
[0.18, 0.71, 0.68],
[0.31, 0.84, 0.86],
[0.35, 0.94, 0.95]
]
},
"der": {
"alg": "sha-256",
"root": "u4Nn2m6b6VZq0k7dQmY0h3o8m1u9cFq2R7xX0aA3sVg",
"trail": "https://ops.example.com/qtrail/proofs"
},
"sig": {
"alg": "ed25519",
"kid": "did:web:ops.example.com:settlement#assert-1",
"val": "S1gnAtuR3PlAceH0lder..."
}
}
¶
Reading: over 142 settled maneuver decisions in a 181-day window (2026-01-27 to 2026-07-27) with a 30-day recency half-life, subject sat-eol-7's recency-weighted ECE is 0.0192. dist lists all ten bins; four are empty. Recomputing from dist:¶
ece = 0.02*|0.12-0.10| + 0.05*|0.31-0.29| + 0.09*|0.52-0.55|
+ 0.18*|0.71-0.68| + 0.31*|0.84-0.86| + 0.35*|0.94-0.95|
= 0.0004 + 0.0010 + 0.0027 + 0.0054 + 0.0062 + 0.0035
= 0.0192
acc = 0.02*0.10 + 0.05*0.29 + 0.09*0.55
+ 0.18*0.68 + 0.31*0.86 + 0.35*0.95
= 0.7875
¶
A relying party applying Section 8 at the recommended parameters, before any staleness adjustment, shrinks the ECE by the sample count, computes the Brier score and skill from dist, and derives the multiplier:¶
ece_shrunk = 0.059456 brier = 0.127917 skill = 0.698808 multiplier = 0.657259¶
The subject is right about 79 times in 100 and says so accurately, which is a skill of about 0.70 and a multiplier of about 0.66 in weighted quorums of predicate class nanda.orbital.maneuver. Under the ECE-only formula of earlier revisions the same record gave 1 - 0.0192 = 0.9808; the difference is that calibration this good says the subject can be believed, and not how often it is right. The object is valid for 90 days, the maximum Section 4.1 allows.¶
These vectors are generated, not written by hand, by the reference implementation's conformance/_vector_gen.py, and are published with it as JSON files numbered 01 to 23. Vectors 01 to 21 are in this appendix; vectors 22 and 23 are in Appendix G.3. Every value below is copied from those files by a script. The keys are fixed test values and MUST NOT be used for anything else. Long lines are folded per [RFC8792].¶
A reader holding only this document can verify the valid CalAt of C.2, reject each CalAt of C.4, and recompute the weights of C.9. The reference implementation ships a second verifier, written from this text and sharing no code with the first, that replays all twenty-three vectors.¶
The issuer key is the Ed25519 key [RFC8032] whose 32-octet seed is 0x11 repeated. The subject DID and the unrelated DID are the did:key identifiers of the Ed25519 keys with seeds 0x22 repeated and 0x33 repeated.¶
issuer seed (hex): 1111111111111111111111111111111111111111111111111111111111111111 issuer public key (hex): d04ab232742bb4ab3a1368bd4615e4e6d0224ab71a016baf8520a332c9778737 issuer DID (iss): did:key:z6MktULudTtAsAhRegYPiZ6631RV3viv12qd4GQF8z1xB22S issuer kid (sig.kid): did:key:z6MktULudTtAsAhRegYPiZ6631RV3viv12qd4GQF8z1xB22S#assert-1 subject DID (sub): did:key:z6MkqGC3nWZhYieEVTVDKW5v588CiGfsDSmRVG9ZwwWTvLSK unrelated DID: did:key:z6Mkg49NtQR2LyYRDCQFK4w1VVHqhypZSSRo7HsyuN7SV7v5¶
Twelve settled decisions with a 30-day half-life. Verified at now = 1785110500 for the subject DID above, predicate class nanda.orbital.maneuver, and an accepted-issuer list containing the issuer DID above, it passes every step of Section 7.¶
========== NOTE: '\' line wrapping per RFC 8792 ===========
{
"cav": "1",
"aid": "vector-01",
"sub": "did:key:z6MkqGC3nWZhYieEVTVDKW5v588CiGfsDSmRVG9ZwwWTvLSK",
"iss": "did:key:z6MktULudTtAsAhRegYPiZ6631RV3viv12qd4GQF8z1xB22S",
"iat": 1785110400,
"exp": 1792800000,
"prc": "nanda.orbital.maneuver",
"cal": {
"n": 12,
"win": {
"t0": 1782518400,
"t1": 1785110400,
"half_life": 2592000
},
"ece": 0.149311,
"bins": 10,
"dist": [
[0.0, 0.0, 0.0],
[0.0, 0.0, 0.0],
[0.0, 0.0, 0.0],
[0.0, 0.0, 0.0],
[0.0, 0.0, 0.0],
[0.07315591010010714, 0.55, 1.0],
[0.1628742398295143, 0.6229827161496126, 0.5403456770077496],
[0.1626140316478892, 0.7235575472550037, 0.47115094510007405],
[0.25461130772263163, 0.8443577386229053, 1.0],
[0.3467445106998577, 0.9358074172300505, 1.0]
]
},
"der": {
"alg": "sha-256",
"root": "fptelJ6ylbKgkPEkacKnhBdORdRDc92vyOlmG11tP7A",
"trail": "https://ops.example.test/qtrail/proofs"
},
"sig": {
"alg": "ed25519",
"kid": "did:key:z6MktULudTtAsAhRegYPiZ6631RV3viv12qd4GQF8z1xB22\
S#assert-1",
"val": "6WmitK3Gr8VStqUklZO_h7apEwb58IGAMkJBiPwaq7Q73H3hoh5FsPv\
WufcHZfDf5GgnTvMKdwLvbGH9WViOAQ"
}
}
¶
The JCS serialization of the object in C.2 without sig. It is one line with no trailing newline; the signature is over its UTF-8 octets. Note that JCS writes 0.0 as 0 and 1.0 as 1.¶
========== NOTE: '\' line wrapping per RFC 8792 ===========
{"aid":"vector-01","cal":{"bins":10,"dist":[[0,0,0],[0,0,0],[0,0,0]\
,[0,0,0],[0,0,0],[0.07315591010010714,0.55,1],[0.1628742398295143\
,0.6229827161496126,0.5403456770077496],[0.1626140316478892,0.723\
5575472550037,0.47115094510007405],[0.25461130772263163,0.8443577\
386229053,1],[0.3467445106998577,0.9358074172300505,1]],"ece":0.1\
49311,"n":12,"win":{"half_life":2592000,"t0":1782518400,"t1":1785\
110400}},"cav":"1","der":{"alg":"sha-256","root":"fptelJ6ylbKgkPE\
kacKnhBdORdRDc92vyOlmG11tP7A","trail":"https://ops.example.test/q\
trail/proofs"},"exp":1792800000,"iat":1785110400,"iss":"did:key:z\
6MktULudTtAsAhRegYPiZ6631RV3viv12qd4GQF8z1xB22S","prc":"nanda.orb\
ital.maneuver","sub":"did:key:z6MkqGC3nWZhYieEVTVDKW5v588CiGfsDSm\
RVG9ZwwWTvLSK"}
SHA-256 of the signing input (hex):
fbbf5a1c1a8f69053ee0ebee88761e17db9a4e6f6f90dfebef08494add796f8c
sig.val (base64url Ed25519 signature):
6WmitK3Gr8VStqUklZO_h7apEwb58IGAMkJBiPwaq7Q73H3hoh5FsPvWufcHZfDf5\
GgnTvMKdwLvbGH9WViOAQ
¶
Each is the object of C.2, or the verification inputs of C.2, with the stated changes (members are named by JSON Pointer; input lines change a verification input and not the object), and each MUST fail at the stated step of Section 7 and at no earlier one. The step names are structure (step 1), signature (2), temporal (3), subject_binding (4), predicate (5), issuer (6) and consistency (7). Vectors 07 and 14 are signed by the issuer over the changed object, so they fail on their content and not on their signature. Vector 13 is signed by the unrelated key and names that key in kid while keeping the trusted iss. Vector 14 has the shape of the earlier editor version's Appendix B example: a dist that omits empty bins.¶
========== NOTE: '\' line wrapping per RFC 8792 ===========
Vector 02-reject-tampered-field
fails at: signature
document /cal/ece = 0.0
Vector 03-reject-corrupt-signature
fails at: signature
document /sig/val = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
Vector 04-reject-expired
fails at: temporal
input now = 1792800000
document: identical to vector 01
Vector 05-reject-wrong-subject
fails at: subject_binding
input authenticated_sub = "did:key:z6Mkg49NtQR2LyYRDCQFK4w1VVHqhy\
pZSSRo7HsyuN7SV7v5"
document: identical to vector 01
Vector 06-reject-untrusted-issuer
fails at: issuer
input accepted_issuers/0 = "did:key:z6Mkg49NtQR2LyYRDCQFK4w1VVHqh\
ypZSSRo7HsyuN7SV7v5"
document: identical to vector 01
Vector 07-reject-dist-consistency-mismatch
fails at: consistency
document /cal/dist/5/2 = 0.0
document /sig/val = "6OAqwdvS3quA7UNTN2fh7sxk1DStupwcdRF8sZkrMBDv\
QW1wnnCP92d2FW-bFlc-iF5l9-yWa2u5jaXrv6tWAA"
Vector 13-reject-kid-not-under-issuer
fails at: signature
document /sig/kid = "did:key:z6Mkg49NtQR2LyYRDCQFK4w1VVHqhypZSSRo\
7HsyuN7SV7v5#assert-1"
document /sig/val = "08FI5IS-3VrDEMQaT4ev6xee3deoYg8u2_C-wNUDLTo8\
xXfMpVWDL4LZB6Mo4wZzJfGEM5PhiMFOM27vnRscBg"
Vector 14-reject-dist-length
fails at: structure
document /cal/dist = [[0.07315591010010714, 0.55, 1.0], [0.162874\
2398295143, 0.6229827161496126, 0.5403456770077496], [0.1626140\
316478892, 0.7235575472550037, 0.47115094510007405], [0.2546113\
0772263163, 0.8443577386229053, 1.0], [0.3467445106998577, 0.93\
58074172300505, 1.0]]
document /sig/val = "sKGIgvQLWQln5jYqKWmSJxp-WMLXTmj45rqIB6rk6pev\
GKeUDaL___KT8psIM73nSJFkJmswvEN4jwg2_giuDw"
Vector 15-reject-predicate-mismatch
fails at: predicate
input expected_prc = "nanda.spectrum.compliance"
document: identical to vector 01
¶
The bin index of Section 6.2 for confidences on and near bin edges.¶
bins = 10 confidence bin index 0.0 0 0.1 1 0.3 3 0.5 5 0.6 6 0.7 7 0.999999 9 1.0 9¶
The twelve settled-decision records behind the CalAt of C.2, the tree over them (Section 4.3), and the audit path for one record. The root is the der.root of C.2. To verify the proof, start from the hash of leaf 7 and combine it with each proof element in turn as in [RFC9162], Section 2.1.3.2; for index 7 in a tree of 12 every element is a left sibling except the last.¶
tree_size = 12
Leaves (JCS bytes, as UTF-8), in append order:
0 {"c":0.55,"id":"d-00","t":1784073600,"y":1}
1 {"c":0.65,"id":"d-01","t":1784160000,"y":0}
2 {"c":0.75,"id":"d-02","t":1784246400,"y":1}
3 {"c":0.85,"id":"d-03","t":1784332800,"y":1}
4 {"c":0.95,"id":"d-04","t":1784419200,"y":1}
5 {"c":0.9,"id":"d-05","t":1784505600,"y":1}
6 {"c":0.8,"id":"d-06","t":1784592000,"y":1}
7 {"c":0.7,"id":"d-07","t":1784678400,"y":0}
8 {"c":0.6,"id":"d-08","t":1784764800,"y":1}
9 {"c":0.92,"id":"d-09","t":1784851200,"y":1}
10 {"c":0.88,"id":"d-10","t":1784937600,"y":1}
11 {"c":0.97,"id":"d-11","t":1785024000,"y":1}
Leaf hashes, SHA-256(0x00 || leaf), hex:
0 fc7c37f29fe5c6372e1f110b591102b26ada3932a16450e0b3396f3df9702a16
1 11e570d2b14d8fe8d4f445df1b5e3b952218d07aff462f49ea18153d249d7a5f
2 94f0b0971db9c8d3e8776762a06594f545009473f38c07183a460844965c121e
3 5a550f25128ed7cc1e9a14f89cab9ad08baaf8d8551f3aa68d6d3174ae179af1
4 b345ae587ab4e982ff700395bcdb54515fc9b31f2dd99c5ab53b5a64d328b270
5 7d227b67993d9010f9535e77c26192bff00362d22a5628a4b7f698f4e7716295
6 837def16db1773c986f3d01f92e59a4cb8a1314c8c53d2103f9e601285fbc3fc
7 e73617eb049f3e7c033f53dc8a4e874313df17ce106281eabe9da08831d5e0bf
8 604ac5b456bc6afe068e3222ff34c0675ffa251325c64ea0d0f79443e301f543
9 95069359ef897f079503e57e9312ebec1198147afe20c5ae6ea56430fb6f53cd
10 8530b626aaa3c5540c57a0dbce4a055a6eb7ce9ef35496e3f79d7df1946aee17
11 6140696fb39a8689b8b5af1700153079a5a85787caad2d0005a5dc0a719b39f3
Root, hex:
7e9b5e949eb295b2a090f12469c2a784174e45d44373ddafc8e9661b5d6d3fb0
der.root (base64url):
fptelJ6ylbKgkPEkacKnhBdORdRDc92vyOlmG11tP7A
Inclusion proof for leaf 7, hex, leaf to root:
837def16db1773c986f3d01f92e59a4cb8a1314c8c53d2103f9e601285fbc3fc
7f6ecadf4f17ddbfa0384a2f652874b4e1dcab88c3b4ab24f21b56c0fb073976
239dbea61bd169a4e0c9034dd65abe57fe6c89d7418f25fe02553d6c41928cd1
ae10e91c4b04af80206310b023f003bb49b137225e1cf2edba9b94ec6624f96b
¶
A status list from the same issuer, revoking the CalAt of C.2 with reason settlement-fraud, and its two verification outcomes.¶
========== NOTE: '\' line wrapping per RFC 8792 ===========
{
"slv": "1",
"iss": "did:key:z6MktULudTtAsAhRegYPiZ6631RV3viv12qd4GQF8z1xB22S",
"iat": 1785110500,
"rev": [
{
"aid": "vector-00",
"rsn": "issuer-key-rotation",
"at": 1785110400
},
{
"aid": "vector-01",
"rsn": "settlement-fraud",
"at": 1785110500
}
],
"nxt": 1785196900,
"sig": {
"alg": "ed25519",
"kid": "did:key:z6MktULudTtAsAhRegYPiZ6631RV3viv12qd4GQF8z1xB22\
S#assert-1",
"val": "iK_kD-Mlpj9eu1-ZZmdD6PL-zSyH79RxZ-wSk4d7xNyCnq6AAKFNsvw\
rvSxX9Uzn_diXvTcXjtkNQVWZb6eHDw"
}
}
Checked at now = 1785110501: accepted.
Checked at now = 1785196900 (= nxt): rejected, temporal.
¶
Vector 09 is the cal payload of Appendix B with the three numbers derived from it: ece 0.0192, acc 0.7875 and cal_mult 0.9808. Vector 08 keeps the earlier editor version's six-entry table, whose ece also recomputes to 0.0192 and not to the 0.041273 that revision printed.¶
The multiplier of Section 8 for the CalAt of C.2, checked at now = 1785110500 with the recommended parameters. cal_mult_ece_only is the same computation with s = 0; cal_mult_without_dist is the CalAt of C.2 with dist removed.¶
now = 1785110500 ece_shrunk = 0.221232 ece_eff = 0.221232 reliability = 0.033883 resolution = 0.054015 uncertainty = 0.134987 brier = 0.114855 skill = 0.735243 cal_mult = 0.572583 cal_mult_ece_only = 0.778768 cal_mult_without_dist = 0.1 new_entrant_mult = 0.1 new_entrant_mult_ece_only = 0.75¶
Per-vote weights (Section 8.4) for the same subject. Its record is twelve decisions, so every band is pulled strongly toward one half; 0.25 falls in a band it has never used.¶
stated recalibrated weight 0.55 0.540351 0.161757 0.65 0.506596 0.026387 0.75 0.49529 0.0 0.85 0.617015 0.476897 0.95 0.646916 0.60551 0.25 0.5 0.0 unattested_weight = 0.200671¶
A partition merge (Section 13.1). p-1 was stated at 0.9 on one side and 0.2 on the other, and settled incorrect: it is kept once, at 0.9. p-2 was recorded identically on both sides and is kept once. p-3 carries two different outcomes and is excluded.¶
Records on the left side:
{"c": 0.9, "t": 1784332800, "y": 1, "id": "p-0"}
{"c": 0.9, "t": 1784419200, "y": 0, "id": "p-1"}
{"c": 0.7, "t": 1784505600, "y": 1, "id": "p-2"}
{"c": 0.8, "t": 1784592000, "y": 1, "id": "p-3"}
Records on the right side:
{"c": 0.2, "t": 1784419260, "y": 0, "id": "p-1"}
{"c": 0.7, "t": 1784505600, "y": 1, "id": "p-2"}
{"c": 0.6, "t": 1784592000, "y": 0, "id": "p-3"}
{"c": 0.6, "t": 1784678400, "y": 1, "id": "p-4"}
penalized = ["p-1"]
outcome_conflicts = ["p-3"]
Merged records, in reissue order:
{"c": 0.9, "t": 1784332800, "y": 1, "id": "p-0"}
{"c": 0.9, "t": 1784419200, "y": 0, "id": "p-1"}
{"c": 0.7, "t": 1784505600, "y": 1, "id": "p-2"}
{"c": 0.6, "t": 1784678400, "y": 1, "id": "p-4"}
¶
Pooling two issuers' tables for one subject (Section 11), five bins.¶
Issuer 1: n = 10, ece = 0.3, dist = [0.0, 0.0, 0.0] [0.0, 0.0, 0.0] [0.0, 0.0, 0.0] [0.0, 0.0, 0.0] [1.0, 0.9000000000000001, 0.6] Issuer 2: n = 20, ece = 0.2, dist = [0.0, 0.0, 0.0] [0.5, 0.29999999999999993, 0.0] [0.0, 0.0, 0.0] [0.0, 0.0, 0.0] [0.5, 0.9000000000000001, 1.0] Pooled dist = [0.0, 0.0, 0.0] [0.333333, 0.3, 0.0] [0.0, 0.0, 0.0] [0.0, 0.0, 0.0] [0.666667, 0.9, 0.8] ece_pooled = 0.166667 ece_mean_of_issuers = 0.233333¶
The following history records the pre-submission editor revisions of this protocol. Revision numbers in this appendix belong to that internal series. This individual Internet-Draft starts at -00.¶
This revision adds predicate classes and the rule they are held to. The CalAt object (cav "1", its members, and the structure in Appendix A), the verification steps of Section 7 and the consumption rules of Section 8 are unchanged. Vectors 01 to 21 are unchanged.¶
Added:¶
nanda.code.test-outcome and nanda.commerce.fulfilment (Section 4.4, Appendix G). They are the first classes specified to the standard Section 4.4 requires, and the first outside the domain of the original three.¶
This revision changes how a CalAt is merged and consumed. The CalAt object (cav "1", its members, and the structure in Appendix A) is again unchanged, and so are the verification steps of Section 7.¶
Changed:¶
dist with the Brier score (Sections 8.2 and 8.3). The ECE-only multiplier of -01 remains expressible (s = 0) and is NOT RECOMMENDED.¶
dist earns no more weight than no CalAt (Sections 4.2 and 8.3). Issuers SHOULD now include dist always, not only from 30 samples.¶
cal_min (0.1), not 0.75: an unattested subject has shown no skill.¶
dist tables where it can (Section 11).¶
Added:¶
dist (Section 8.4).¶
Corrected: two statements in Section 1.1 that claimed more than is known, about what deployed mechanisms do and about what calibration alone establishes.¶
Revision -01 corrected errors in -00 and brought the text up to its reference implementation. The CalAt object (cav "1", its members, and the structure in Appendix A) is unchanged; an object that was a well-formed -00 CalAt and carried no dist, or a dist listing every bin, is a well-formed -01 CalAt.¶
Corrections:¶
ece = 0.041273 and cal_mult of about 0.959; the example's own dist gives 0.0192 and 0.9808. An independent recomputation in exact rational arithmetic, conformance/check_appendix_b.py, prints for -00: table length 6 against bins 10, ece 0.0192 against 0.041273, acc 0.7875 against 0.937; and for -01: length 10, weights summing to 1, ece 0.0192, acc 0.7875, cal_mult 0.9808, all matching. The -00 verification procedure (Section 7, step 7) would have rejected the -00 example.¶
acc (0.937) was also inconsistent with its dist; it is now 0.7875.¶
uri, b64url) collided with names CDDL reserves or lexes specially, and the numeric bounds chained two control operators. The rules are renamed and the bounds restated; the object they describe is the same.¶
Rules that -00 left undefined:¶
dist weights, the requirement to list every bin, and the empty-bin triple (Section 4.2); the corresponding checks in Section 7, steps 1 and 7.¶
dist (Section 4.2).¶
der.root (Section 4.3).¶
Brought up from the implementation:¶
sig.kid must be under iss (Section 5, Section 14.5). The -00 text implied this and did not require it, and the implementation did not check it.¶
Also added in -01: registration requirements for predicate classes (Section 4.4, Section 16); test vectors (Appendix C), replacing the -00 placeholder; open issues (Appendix E).¶
One implementation change accompanied -01 and alters a computed value without altering the object: the leaf encoding of Section 4.3 replaces an implementation-specific string, so a der.root computed by the -01 or a later implementation differs from one computed by the -00 implementation over the same records.¶
Three details affect what independent implementations can reproduce or verify:¶
nxt is absent and no rule for detecting rollback to an earlier signed list. An RP relying on these checks alone has no assurance that the list includes the latest revocations.¶
es256 identifier lacks a signature encoding and an interoperability vector.¶
Other open issues are listed below.¶
sig member over a JCS serialization. Expressing it as a W3C Verifiable Credential [VCDM2] would bring existing tooling, proof suites, and the Bitstring Status List [BSL] for revocation. It would also change the wire format, which this revision does not do. The status list of Section 10 is the mechanism that fits the current object: a bitstring list addresses each credential by an index carried in the credential, and the CalAt object has no such member; the list defined here is bounded by the 90-day validity limit and carries a reason code per entry. The question is open for a future version of the object.¶
This appendix is informative. It summarizes a simulation published with the reference implementation (bench/), run to test whether weighting votes by attested calibration improves group decisions. Agents vote on two-way decisions whose answers are confirmed afterwards; an agent of skill k is right with probability 0.5 + k * e on a decision of easiness e drawn uniformly from [0,1]; seven populations and eight voting rules are compared.¶
The rules are: headcount (one per vote); confidence (log-odds of the stated confidence, no history); accuracy (past hit rate above chance); hedge (multiplicative weights on Brier loss); calat-ece (Section 8.3 with s = 0); calat-skill (Section 8.3 with s = 1); calat-skill+conf (that multiplier times the log-odds of the stated confidence); and calat-recal (Section 8.4).¶
Group accuracy, percent. 200 seeds; 300 warm-up rounds, then 300 scored rounds. '*' marks a rule that is not distinguishably better than headcount at 95 percent. rule HON OVR FLT UND ROT CLN SLP headcount 73.6 72.5 69.1 75.5 72.5 56.1 23.8 confidence 76.4 60.7* 76.5 72.3* 61.0* 71.1 0.0* accuracy 75.9 74.8 76.5 78.7 74.1 72.1 66.1 hedge 72.0* 67.7* 69.7 73.1* 66.1* 69.8 66.3 calat-ece 73.6* 74.4 69.1* 75.5* 72.5* 56.1* 50.8 calat-skill 76.1 74.9 76.2 77.3 74.8 71.7 58.1 calat-skill+conf 75.8 71.8* 76.6 75.8 71.3* 76.7 14.0* calat-recal 74.7 73.7 75.0 78.6 73.7 72.0 73.4 HON Honest agents, mixed skill OVR Overconfident minority FLT Base-rate flatteners in the majority UND Underconfident experts ROT Identity rotators CLN Same-model clones SLP Sleepers¶
What the results support:¶
What they do not show: the simulation has independent errors, two-way decisions, outcomes that are always confirmed, and adversaries that each follow one fixed strategy. It is evidence about the rules under those conditions and not about any deployment.¶
This appendix is normative for the two predicate classes it profiles. Each profile states the claim, the confirmation predicate, the settlement source, what settles as abstained, and the record that results. In both, the settled-decision record (Section 4.3) carries the stated confidence as c, the outcome as y, and the settlement time given below as t.¶
A profile settles each decision as correct (y = 1), incorrect (y = 0), abstained (final; no record), or pending (not yet settled; no record).¶
In both profiles a claim recorded too late settles as abstained. That is the one abstention a subject can bring about, and it is the same as not making the claim: Section 14.2 covers a subject that takes part only where it expects to do well.¶
Claim. A subject proposes a change to a body of software and states a confidence that the change passes the target checks.¶
Settlement source. The operator of the checks: the party that runs them on the change and records the results. It MUST NOT be the subject.¶
Target checks. A set of automated checks named by the operator before the claim is recorded. A check that gives differing verdicts on the base revision with no change applied SHOULD NOT be named.¶
Confirmation predicate. The operator runs each target check, as that check is defined at the base revision, against the software with the change applied. It MAY do so more than once. The decision settles as correct if every target check passes in every run, and as incorrect otherwise, subject to the abstentions below.¶
The following are failures of a target check, not abstentions:¶
A result obtained from a check that the change added, or from a target check in the form the change gave it, MUST NOT be counted in either direction.¶
Abstained. The decision settles as abstained if and only if no target checks were named; or the operator was unable to run a target check for a reason that does not depend on the change (for example, loss of the runner or of an external dependency); or the claim was not recorded before the first run started.¶
Record. t is the time the last run finished.¶
Minimum evidence. The registry default of 10 (Section 6.3).¶
The predicate is what the checks say, not whether the change is good. A subject that expects its change to fail the target checks, because the change deliberately alters behaviour those checks pin down, is calibrated when it says so with a low confidence; a relying party reads that confidence through Section 8.4 like any other.¶
Claim. A subject acting for a merchant makes an offer, consisting of a price and a time by which the goods or service will be delivered, and states a confidence that the offer will be honoured if accepted.¶
Settlement source. The order or payment platform that carried the order. It MUST NOT be the subject or the merchant.¶
Confirmation predicate. The decision settles as correct if the platform records that the order was delivered as ordered, that the amount charged did not exceed the offered price, that delivery occurred no later than the offered time plus any tolerance the offer itself stated, and that no dispute was upheld within the platform's dispute window.¶
The following settle as incorrect:¶
Abstained. The decision settles as abstained if and only if the buyer cancelled before the deadline and not following such a notice; or the claim was not recorded before the order was placed.¶
Pending. An undelivered order whose deadline has not passed, and a delivered order whose dispute window has not closed, are not yet settled. An issuer MUST NOT record a sample for either.¶
Record. t is the delivery time for a delivered order; the time of the cancellation, refund or ruling for a merchant cancellation, refund or upheld dispute; and the deadline for an order that missed it. Where a buyer cancellation followed a merchant notice, t is the earlier of the cancellation and the deadline.¶
Minimum evidence. The registry default of 10 (Section 6.3).¶
Prices are compared in the currency of the offer, in its minor unit. Only accepted offers settle; an offer that no buyer accepts yields no decision. A subject therefore cannot improve its record by making offers it expects no one to take, and a relying party should note that the record says nothing about offers that were declined.¶
Each case gives the input as one JSON object, then the settlement, with the settled-decision record where there is one. Times are seconds since the epoch.¶
In vector 22, targets are the target checks and runs is one array of results per run; origin is base for a check run as defined at the base revision and change otherwise.¶
========== NOTE: '\' line wrapping per RFC 8792 ===========
Case c-1: every target check passes
{"id":"c-1","confidence":0.9,"claimed_at":1784937600,"run_started_a\
t":1784937660,"run_finished_at":1784937900,"targets":["check-0","\
check-1","check-2"],"runs":[[{"name":"check-0","status":"pass","o\
rigin":"base"},{"name":"check-1","status":"pass","origin":"base"}\
,{"name":"check-2","status":"pass","origin":"base"}]]}
=> correct {"c":0.9,"t":1784937900,"y":1,"id":"c-1"}
Case c-2: a target check fails
{"id":"c-2","confidence":0.9,"claimed_at":1784937600,"run_started_a\
t":1784937660,"run_finished_at":1784937900,"targets":["check-0","\
check-1","check-2"],"runs":[[{"name":"check-0","status":"pass","o\
rigin":"base"},{"name":"check-1","status":"fail","origin":"base"}\
,{"name":"check-2","status":"pass","origin":"base"}]]}
=> incorrect {"c":0.9,"t":1784937900,"y":0,"id":"c-2"}
Case c-3: low stated confidence; the change does fail
{"id":"c-3","confidence":0.1,"claimed_at":1784937600,"run_started_a\
t":1784937660,"run_finished_at":1784937900,"targets":["check-0","\
check-1","check-2"],"runs":[[{"name":"check-0","status":"fail","o\
rigin":"base"},{"name":"check-1","status":"fail","origin":"base"}\
,{"name":"check-2","status":"pass","origin":"base"}]]}
=> incorrect {"c":0.1,"t":1784937900,"y":0,"id":"c-3"}
Case c-4: check-2 passes only in the change's own form
{"id":"c-4","confidence":0.95,"claimed_at":1784937600,"run_started_\
at":1784937660,"run_finished_at":1784937900,"targets":["check-0",\
"check-1","check-2"],"runs":[[{"name":"check-0","status":"pass","\
origin":"base"},{"name":"check-1","status":"pass","origin":"base"\
},{"name":"check-2","status":"pass","origin":"change"}]]}
=> incorrect {"c":0.95,"t":1784937900,"y":0,"id":"c-4"}
Case c-5: a check the change added fails; not a target
{"id":"c-5","confidence":0.8,"claimed_at":1784937600,"run_started_a\
t":1784937660,"run_finished_at":1784937900,"targets":["check-0","\
check-1","check-2"],"runs":[[{"name":"check-0","status":"pass","o\
rigin":"base"},{"name":"check-1","status":"pass","origin":"base"}\
,{"name":"check-2","status":"pass","origin":"base"},{"name":"chec\
k-new","status":"fail","origin":"change"}]]}
=> correct {"c":0.8,"t":1784937900,"y":1,"id":"c-5"}
Case c-6: the change removed check-2
{"id":"c-6","confidence":0.99,"claimed_at":1784937600,"run_started_\
at":1784937660,"run_finished_at":1784937900,"targets":["check-0",\
"check-1","check-2"],"runs":[[{"name":"check-0","status":"pass","\
origin":"base"},{"name":"check-1","status":"pass","origin":"base"\
}]]}
=> incorrect {"c":0.99,"t":1784937900,"y":0,"id":"c-6"}
Case c-7: two runs disagree
{"id":"c-7","confidence":0.8,"claimed_at":1784937600,"run_started_a\
t":1784937660,"run_finished_at":1784937900,"targets":["check-0","\
check-1","check-2"],"runs":[[{"name":"check-0","status":"pass","o\
rigin":"base"},{"name":"check-1","status":"pass","origin":"base"}\
,{"name":"check-2","status":"pass","origin":"base"}],[{"name":"ch\
eck-0","status":"pass","origin":"base"},{"name":"check-1","status\
":"fail","origin":"base"},{"name":"check-2","status":"pass","orig\
in":"base"}]]}
=> incorrect {"c":0.8,"t":1784937900,"y":0,"id":"c-7"}
Case c-8: the operator could not run a target check
{"id":"c-8","confidence":0.8,"claimed_at":1784937600,"run_started_a\
t":1784937660,"run_finished_at":1784937900,"targets":["check-0","\
check-1","check-2"],"runs":[[{"name":"check-0","status":"pass","o\
rigin":"base"},{"name":"check-1","status":"error","origin":"base"\
},{"name":"check-2","status":"pass","origin":"base"}]]}
=> abstained
Case c-9: claim recorded when the run started
{"id":"c-9","confidence":1.0,"claimed_at":1784937660,"run_started_a\
t":1784937660,"run_finished_at":1784937900,"targets":["check-0","\
check-1","check-2"],"runs":[[{"name":"check-0","status":"pass","o\
rigin":"base"},{"name":"check-1","status":"pass","origin":"base"}\
,{"name":"check-2","status":"pass","origin":"base"}]]}
=> abstained
Case c-10: no target checks were named
{"id":"c-10","confidence":0.9,"claimed_at":1784937600,"run_started_\
at":1784937660,"run_finished_at":1784937900,"targets":[],"runs":[\
[{"name":"check-0","status":"pass","origin":"base"},{"name":"chec\
k-1","status":"pass","origin":"base"},{"name":"check-2","status":\
"pass","origin":"base"}]]}
=> abstained
¶
In vector 23, the tolerance and the dispute window apply to every case, and now is the time at which the case is evaluated.¶
========== NOTE: '\' line wrapping per RFC 8792 ===========
grace_seconds = 3600 dispute_window_seconds = 172800
Case o-1: delivered on time at the offered price
{"id":"o-1","confidence":0.9,"claimed_at":1784246340,"offer":{"pric\
e":2500,"deliver_by":1784505600},"order":{"placed_at":1784246400,\
"status":"delivered","charged":2500,"delivered_at":1784419200},"n\
ow":1785110400}
=> correct {"c":0.9,"t":1784419200,"y":1,"id":"o-1"}
Case o-2: delivered inside the grace period
{"id":"o-2","confidence":0.9,"claimed_at":1784246340,"offer":{"pric\
e":2500,"deliver_by":1784505600},"order":{"placed_at":1784246400,\
"status":"delivered","charged":2500,"delivered_at":1784509200},"n\
ow":1785110400}
=> correct {"c":0.9,"t":1784509200,"y":1,"id":"o-2"}
Case o-3: delivered one second after the grace period
{"id":"o-3","confidence":0.9,"claimed_at":1784246340,"offer":{"pric\
e":2500,"deliver_by":1784505600},"order":{"placed_at":1784246400,\
"status":"delivered","charged":2500,"delivered_at":1784509201},"n\
ow":1785110400}
=> incorrect {"c":0.9,"t":1784509201,"y":0,"id":"o-3"}
Case o-4: charged more than the offered price
{"id":"o-4","confidence":0.95,"claimed_at":1784246340,"offer":{"pri\
ce":2500,"deliver_by":1784505600},"order":{"placed_at":1784246400\
,"status":"delivered","charged":2501,"delivered_at":1784419200},"\
now":1785110400}
=> incorrect {"c":0.95,"t":1784419200,"y":0,"id":"o-4"}
Case o-5: the merchant cancelled
{"id":"o-5","confidence":0.8,"claimed_at":1784246340,"offer":{"pric\
e":2500,"deliver_by":1784505600},"order":{"placed_at":1784246400,\
"status":"cancelled_by_merchant","closed_at":1784332800},"now":17\
85110400}
=> incorrect {"c":0.8,"t":1784332800,"y":0,"id":"o-5"}
Case o-6: refunded, not delivered
{"id":"o-6","confidence":0.8,"claimed_at":1784246340,"offer":{"pric\
e":2500,"deliver_by":1784505600},"order":{"placed_at":1784246400,\
"status":"refunded_not_delivered","closed_at":1784678400},"now":1\
785110400}
=> incorrect {"c":0.8,"t":1784678400,"y":0,"id":"o-6"}
Case o-7: the buyer cancelled before the deadline
{"id":"o-7","confidence":0.7,"claimed_at":1784246340,"offer":{"pric\
e":2500,"deliver_by":1784505600},"order":{"placed_at":1784246400,\
"status":"cancelled_by_buyer","closed_at":1784332800},"now":17851\
10400}
=> abstained
Case o-8: buyer cancelled after the deadline had passed
{"id":"o-8","confidence":0.7,"claimed_at":1784246340,"offer":{"pric\
e":2500,"deliver_by":1784505600},"order":{"placed_at":1784246400,\
"status":"cancelled_by_buyer","closed_at":1784678400},"now":17851\
10400}
=> incorrect {"c":0.7,"t":1784509200,"y":0,"id":"o-8"}
Case o-12: buyer cancelled after a merchant notice
{"id":"o-12","confidence":0.7,"claimed_at":1784246340,"offer":{"pri\
ce":2500,"deliver_by":1784505600},"order":{"placed_at":1784246400\
,"status":"cancelled_by_buyer","closed_at":1784332800,"after_merc\
hant_notice":true},"now":1785110400}
=> incorrect {"c":0.7,"t":1784332800,"y":0,"id":"o-12"}
Case o-13: dispute upheld after delivery
{"id":"o-13","confidence":0.9,"claimed_at":1784246340,"offer":{"pri\
ce":2500,"deliver_by":1784505600},"order":{"placed_at":1784246400\
,"status":"dispute_upheld","charged":2500,"delivered_at":17844192\
00,"closed_at":1784505600},"now":1785110400}
=> incorrect {"c":0.9,"t":1784505600,"y":0,"id":"o-13"}
Case o-14: delivered, dispute window still open
{"id":"o-14","confidence":0.9,"claimed_at":1784246340,"offer":{"pri\
ce":2500,"deliver_by":1784505600},"order":{"placed_at":1784246400\
,"status":"delivered","charged":2500,"delivered_at":1784419200},"\
now":1784505600}
=> pending
Case o-9: still open, deadline not yet passed
{"id":"o-9","confidence":0.6,"claimed_at":1784246340,"offer":{"pric\
e":2500,"deliver_by":1784505600},"order":{"placed_at":1784246400,\
"status":"open"},"now":1784505600}
=> pending
Case o-10: still open, deadline passed
{"id":"o-10","confidence":0.6,"claimed_at":1784246340,"offer":{"pri\
ce":2500,"deliver_by":1784505600},"order":{"placed_at":1784246400\
,"status":"open"},"now":1785110400}
=> incorrect {"c":0.6,"t":1784509200,"y":0,"id":"o-10"}
Case o-11: claim recorded when the order was placed
{"id":"o-11","confidence":1.0,"claimed_at":1784246400,"offer":{"pri\
ce":2500,"deliver_by":1784505600},"order":{"placed_at":1784246400\
,"status":"delivered","charged":2500,"delivered_at":1784419200},"\
now":1785110400}
=> abstained
¶