<?xml version="1.0" encoding="UTF-8"?>
<!-- Private review source derived from the project editor manuscript. -->
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" ipr="trust200902" docName="draft-chandra-nanda-calibration-attestation-00"
     category="exp" submissionType="independent"
     tocInclude="true" sortRefs="true" symRefs="true" version="3">
<front>
<title abbrev="Calibration Attestation">Calibration Attestation for Autonomous Agent Meshes</title>
<seriesInfo name="Internet-Draft" value="draft-chandra-nanda-calibration-attestation-00"/>
<author initials="S." surname="Chandra" fullname="Sharath Chandra">
<organization>StellarMinds.ai</organization>
<address><postal><city>Richmond</city><region>California</region><country>United States of America</country></postal>
<email>sharath@stellarminds.ai</email><uri>https://stellarminds.ai</uri></address>
</author>
<date year="2026" month="December" day="1"/>
<area>Security</area>

<keyword>agent</keyword><keyword>reputation</keyword><keyword>calibration</keyword><keyword>attestation</keyword><keyword>DID</keyword><keyword>NANDA</keyword>
<abstract><t>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.</t><t>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.</t></abstract>
</front>
<middle>
<section anchor="sec-introduction"><name>Introduction</name>
<section anchor="sec-motivation"><name>Motivation</name>
<t>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 <xref target="EARNED"/> documents a working self-inflation exploit against exactly such a field.</t>
<t>Progressive Trust <xref target="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.</t>
<t>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 <xref target="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).</t>
<t>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.</t>
</section>
<section anchor="sec-what-this-document-does-not-do"><name>What This Document Does Not Do</name>
<t>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) <xref target="DIDCORE"/>; key resolution and authority renewal, including under network partition, are the province of the identity layer and the companion draft <xref target="RENEWAL"/>.</t>
<t>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 (<tt>dist</tt>). 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).</t>
</section>
<section anchor="sec-applicability"><name>Applicability</name>
<t>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:</t>
<ol><li>The subject states a confidence in a claim, and that confidence is recorded before the outcome can be known to it.</li><li>The outcome is confirmed by a party other than the subject, from a record the subject does not control.</li><li>The cases that are not outcomes are written down in advance: what settles as abstained, and what the subject could do to cause it.</li></ol>
<t>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 <bcp14>MUST</bcp14> treat every such path as an incorrect outcome and reserve abstention for causes outside the subject's control.</t>
<t>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.</t>
</section>
</section>
<section anchor="sec-conventions-and-terminology"><name>Conventions and Terminology</name>
<t>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 <xref target="RFC2119"/> <xref target="RFC8174"/> when, and only when, they appear in all capitals, as shown here.</t>
<t><strong>Subject:</strong> The agent (human-operated service, autonomous runtime, or ML model endpoint) whose calibration is attested, identified by a DID.</t>
<t><strong>Issuer:</strong> The settlement authority that observed the subject's confidence claims and confirmed the corresponding outcomes, identified by a DID.</t>
<t><strong>Relying Party (RP):</strong> Any entity consuming a CalAt to weight the subject's influence.</t>
<t><strong>Confidence Claim:</strong> A value in [0,1] stated by the subject at decision time, predicting the correctness of a position it took.</t>
<t><strong>Confirmed Outcome:</strong> A ground-truth settlement event produced by an issuer-operated confirmation predicate: correct, incorrect, or abstained.</t>
<t><strong>Calibration Sample:</strong> The pair (confidence claim, outcome indicator) for one settled decision. Abstained outcomes <bcp14>MUST NOT</bcp14> produce samples.</t>
<t><strong>Settled-Decision Record:</strong> 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).</t>
<t><strong>ECE:</strong> Expected Calibration Error <xref target="GUO"/> computed over binned calibration samples (Section 6.2).</t>
<t><strong>Predicate Class:</strong> An identifier naming the family of confirmation predicates under which the samples were settled (Section 4.4).</t>
<t><strong>Derivation Commitment:</strong> A cryptographic commitment (Merkle root) over the ordered settled-decision records from which the attestation was computed.</t>
<t>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 <xref target="RFC4648"/>, Section 5, without padding.</t>
</section>
<section anchor="sec-actors-and-trust-model"><name>Actors and Trust Model</name>
<t>A CalAt is a three-party artifact:</t>
<sourcecode><![CDATA[
 Subject --votes with confidence--> Issuer's decision system
                                        |  confirms outcomes
                                        |  accumulates samples
                                        v
                              Issuer signs CalAt(subject)
                                        |
                                        v
 Relying Party <--presents/discovers-- Registry / Subject
]]></sourcecode>
<t>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 <bcp14>MUST NOT</bcp14> issue CalAts for subjects whose samples they did not themselves settle.</t>
<t>A subject <bcp14>MAY</bcp14> hold CalAts from multiple issuers; aggregation is specified in Section 11.</t>
</section>
<section anchor="sec-the-calibration-attestation-object"><name>The Calibration Attestation Object</name>
<t>A CalAt is a JSON object <xref target="RFC8259"/> with the following members. All members are <bcp14>REQUIRED</bcp14> unless stated otherwise. A CalAt <bcp14>MUST NOT</bcp14> 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 <xref target="RFC8610"/>.</t>
<section anchor="sec-envelope-members"><name>Envelope Members</name>
<ul><li><strong><tt>cav</tt></strong> (string): CalAt version. This document defines <tt>"1"</tt>.</li><li><strong><tt>aid</tt></strong> (string): Attestation identifier, unique per issuer. <bcp14>RECOMMENDED</bcp14>: UUIDv7 <xref target="RFC9562"/>.</li><li><strong><tt>sub</tt></strong> (string): Subject DID.</li><li><strong><tt>iss</tt></strong> (string): Issuer DID.</li><li><strong><tt>iat</tt></strong> (integer): Issuance time, epoch seconds.</li><li><strong><tt>exp</tt></strong> (integer): Expiry time (Section 9). <bcp14>MUST</bcp14> be greater than <tt>iat</tt>. Issuers <bcp14>MUST NOT</bcp14> set <tt>exp - iat</tt> greater than 90 days (7776000 seconds).</li><li><strong><tt>prc</tt></strong> (string): Predicate class identifier (Section 4.4).</li><li><strong><tt>cal</tt></strong> (object): Calibration payload (Section 4.2).</li><li><strong><tt>der</tt></strong> (object): Derivation commitment (Section 4.3).</li><li><strong><tt>sig</tt></strong> (object): Signature structure (Section 5).</li></ul>
</section>
<section anchor="sec-calibration-payload-cal"><name>Calibration Payload (cal)</name>
<ul><li><strong><tt>cal.n</tt></strong> (integer): Number of calibration samples in the window. <bcp14>MUST</bcp14> be at least 1, and <bcp14>MUST</bcp14> equal the number of settled-decision records committed by <tt>der.root</tt>.</li><li><strong><tt>cal.win</tt></strong> (object): The sampling window. <tt>win.t0</tt> and <tt>win.t1</tt> (integers) are its epoch-second bounds; <tt>t1</tt> <bcp14>MUST</bcp14> be less than or equal to <tt>iat</tt>. <tt>win.half_life</tt> (integer) is the recency half-life in seconds used for sample weighting (Section 6.2); <tt>0</tt> indicates unweighted.</li><li><strong><tt>cal.ece</tt></strong> (number): Recency-weighted Expected Calibration Error in [0,1], computed per Section 6.2, rounded to no more than 6 decimal places.</li><li><strong><tt>cal.bins</tt></strong> (integer): Number of equal-width confidence bins used. <bcp14>MUST</bcp14> be at least 5. <bcp14>RECOMMENDED</bcp14>: 10.</li><li><strong><tt>cal.acc</tt></strong> (number, <bcp14>OPTIONAL</bcp14>): 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 <bcp14>MUST NOT</bcp14> substitute <tt>acc</tt> for <tt>ece</tt> in the multiplier derivation.</li><li><strong><tt>cal.dist</tt></strong> (array, <bcp14>OPTIONAL</bcp14>): Per-bin triples, permitting RP-side recomputation of <tt>ece</tt> and detection of pathological distributions (for example, all mass in one bin).</li></ul>
<t>When present, <tt>dist</tt> <bcp14>MUST</bcp14> contain exactly <tt>bins</tt> 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 <bcp14>MUST NOT</bcp14> present counts as <tt>dist</tt>. An empty bin is the triple <tt>[0, 0, 0]</tt>. The values of <tt>dist</tt> are not rounded: an issuer publishes them at the precision it computed them, and RFC 8785 fixes how each is written.</t>
<t>Issuers <bcp14>SHOULD</bcp14> include <tt>dist</tt> in every CalAt. A CalAt without <tt>dist</tt> is well-formed and can verify, but its <tt>ece</tt> is then issuer-asserted and not recomputable, and none of the quantities Section 8 derives from <tt>dist</tt> exist. An RP <bcp14>MUST NOT</bcp14> record such a CalAt as having passed the consistency check of Section 7, step 7, <bcp14>SHOULD</bcp14> log that the check could not be performed, and <bcp14>MUST NOT</bcp14> derive from it a weight above that of an unattested subject (Section 8.3).</t>
<t>When both <tt>acc</tt> and <tt>dist</tt> are present, <tt>acc</tt> equals the sum over bins of weight times mean outcome, and an RP <bcp14>MAY</bcp14> check it. <tt>acc</tt> cannot be recomputed without <tt>dist</tt>.</t>
</section>
<section anchor="sec-derivation-commitment-der"><name>Derivation Commitment (der)</name>
<ul><li><strong><tt>der.alg</tt></strong> (string): Hash algorithm. This document registers <tt>"sha-256"</tt>.</li><li><strong><tt>der.root</tt></strong> (string): base64url encoding of the Merkle root over the settled-decision records contributing samples, as defined below.</li><li><strong><tt>der.trail</tt></strong> (string, <bcp14>OPTIONAL</bcp14>): URI at which an authorized auditor can obtain inclusion proofs against <tt>der.root</tt>.</li></ul>
<t>A settled-decision record is a JSON object with these members: <tt>c</tt> (number), the confidence claim; <tt>t</tt> (integer), the settlement time in epoch seconds; <tt>y</tt> (integer), <tt>1</tt> for a correct outcome and <tt>0</tt> for an incorrect one; and <tt>id</tt> (string, <bcp14>OPTIONAL</bcp14>), 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 <bcp14>SHOULD</bcp14> assign <tt>id</tt>. A settled-decision record is not a member of the CalAt object; it is what <tt>der.root</tt> commits to.</t>
<t>The leaf input for a record is its JCS serialization <xref target="RFC8785"/>, encoded as UTF-8. The tree is the Merkle hash tree of <xref target="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 <xref target="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.</t>
<t>The leaves are the records in the order the issuer appended them to its audit trail, which is settlement order. An issuer <bcp14>MUST NOT</bcp14> 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.</t>
<t>The commitment makes every CalAt a proof obligation: an issuer challenged on an attestation <bcp14>MUST</bcp14> be able to produce, to an authorized auditor, the settled-decision records and inclusion proofs reconstructing <tt>cal.ece</tt> from <tt>der.root</tt>. RPs <bcp14>MUST</bcp14> treat verification failure of a demanded derivation as grounds to distrust the issuer (Section 14.3).</t>
</section>
<section anchor="sec-predicate-classes-prc"><name>Predicate Classes (prc)</name>
<t>Calibration is only comparable within a family of settlement predicates. <tt>prc</tt> is a lowercase reverse-DNS-style token naming that family. Initial registry entries (Section 16):</t>
<ul><li><tt>nanda.orbital.maneuver</tt>: post-burn orbit determination within tolerance and conjunction screening clear at window close.</li><li><tt>nanda.spectrum.compliance</tt>: regulatory margin held over the observation interval.</li><li><tt>nanda.ml.retrain-gate</tt>: post-deployment evaluation exceeding a pre-registered bar.</li><li><tt>nanda.code.test-outcome</tt>: a proposed change passes the target checks, run as they stood before the change (Appendix G.1).</li><li><tt>nanda.commerce.fulfilment</tt>: an offer is honoured as stated, in price and delivery time, per the platform's order record (Appendix G.2).</li></ul>
<t>RPs <bcp14>MUST NOT</bcp14> 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 <bcp14>SHOULD</bcp14> be logged.</t>
<t>A predicate class is only as meaningful as its definition. A registration (Section 16) <bcp14>MUST</bcp14> 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 <bcp14>MUST</bcp14> also state, for each way an outcome can fail to settle, whether the subject can cause it; a cause within the subject's control <bcp14>MUST</bcp14> 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).</t>
</section>
</section>
<section anchor="sec-canonical-encoding-and-signature"><name>Canonical Encoding and Signature</name>
<t>The signing input is the JSON object with the <tt>sig</tt> member removed, canonicalized per JCS <xref target="RFC8785"/>, encoded as UTF-8. Appendix C.3 gives a worked signing input.</t>
<t>The <strong><tt>sig</tt></strong> object contains:</t>
<ul><li><strong><tt>alg</tt></strong> (string): <tt>"ed25519"</tt> (<bcp14>REQUIRED</bcp14> to implement; Ed25519 as in <xref target="RFC8032"/>) or <tt>"es256"</tt>.</li><li><strong><tt>kid</tt></strong> (string): A DID URL identifying a verification method in the issuer's DID document.</li><li><strong><tt>val</tt></strong> (string): base64url encoding of the signature over the canonical signing input.</li></ul>
<t>The DID of <tt>kid</tt>, that is, the part of <tt>kid</tt> before any <tt>#</tt>, <bcp14>MUST</bcp14> equal <tt>iss</tt>. A verifier <bcp14>MUST</bcp14> reject a CalAt whose <tt>kid</tt> 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 <tt>iss</tt> (Section 14.5).</t>
<t>Verifiers <bcp14>MUST</bcp14> resolve <tt>kid</tt> through the issuer's DID document and <bcp14>MUST</bcp14> 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.</t>
<t>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 <tt>did:key</tt> <xref target="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 <tt>did:key</tt> DID names is authorized for assertion. A conformant implementation <bcp14>MUST</bcp14> be able to verify the <tt>did:key</tt> vectors of Appendix C. The optional <tt>es256</tt> identifier has no signature encoding or conformance vector in this revision (Appendix E).</t>
</section>
<section anchor="sec-issuance-procedure"><name>Issuance Procedure</name>
<section anchor="sec-sample-accumulation"><name>Sample Accumulation</name>
<t>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 <bcp14>MUST</bcp14> be committed to the issuer's audit trail before they may contribute to any CalAt.</t>
</section>
<section anchor="sec-ece-computation"><name>ECE Computation</name>
<t>At issuance time t_iss, each sample i with settlement time t_i receives weight</t>
<sourcecode><![CDATA[
w_i = 2^( -(t_iss - t_i) / half_life )        (half_life > 0)
w_i = 1                                        (half_life = 0)
]]></sourcecode>
<t>Samples are partitioned into <tt>bins</tt> equal-width confidence bins over [0,1]. Bins are half-open: bin b, counting from 0, holds the confidences c with b/bins &lt;= c &lt; (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 <bcp14>MUST</bcp14> be computed as</t>
<sourcecode><![CDATA[
b = min( floor( c * bins ), bins - 1 )
]]></sourcecode>
<t>with the product <tt>c * bins</tt> evaluated in IEEE 754 binary64 arithmetic <xref target="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 <tt>bins</tt> = 10. Appendix C.5 gives boundary cases.</t>
<t>For bin b with total weight W_b, weighted mean confidence conf_b, and weighted mean outcome acc_b:</t>
<sourcecode><![CDATA[
ece = sum over b of ( W_b / W ) * | conf_b - acc_b |

W   = sum over b of W_b
]]></sourcecode>
<t>An empty bin has W_b = 0 and contributes nothing to the sum.</t>
<t>Issuers <bcp14>MUST</bcp14> compute <tt>ece</tt> exactly as above for the stated <tt>bins</tt> and <tt>half_life</tt>, enabling RP recomputation from <tt>dist</tt>: with <tt>dist</tt> entries (weight_b, conf_b, acc_b), <tt>ece</tt> is the sum over entries of weight_b times the absolute value of conf_b minus acc_b.</t>
<t>Note: for a fixed set of samples, <tt>ece</tt> 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 <tt>ece</tt> with a later <tt>iat</tt>; 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 <tt>iat</tt> on its own as recent evidence: <tt>win</tt> and <tt>n</tt> say what the evidence is, and Section 9 ages it from <tt>iat</tt>.</t>
</section>
<section anchor="sec-minimum-evidence"><name>Minimum Evidence</name>
<t>Issuers <bcp14>MUST NOT</bcp14> issue a CalAt with <tt>cal.n</tt> 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).</t>
</section>
</section>
<section anchor="sec-verification-procedure"><name>Verification Procedure</name>
<t>An RP presented with a CalAt <bcp14>MUST</bcp14> perform, in order:</t>
<ol><li><strong>Syntax:</strong> the object parses; all <bcp14>REQUIRED</bcp14> members are present and no undefined member is; values are within domain (<tt>cav</tt> is <tt>"1"</tt>; <tt>exp - iat</tt> is positive and at most 90 days; <tt>n</tt> &gt;= 1; <tt>bins</tt> &gt;= 5; <tt>ece</tt> and <tt>acc</tt> in [0,1]; <tt>t1</tt> &lt;= <tt>iat</tt>; <tt>der.alg</tt> and <tt>sig.alg</tt> registered); and, when <tt>dist</tt> is present, it has exactly <tt>bins</tt> entries, each an array of three numbers in [0,1].</li><li><strong>Signature:</strong> per Section 5: the DID of <tt>sig.kid</tt> equals <tt>iss</tt>, <tt>kid</tt> resolves through the issuer's DID document to a key authorized for assertion, and the signature verifies over the canonical signing input.</li><li><strong>Temporal validity:</strong> current time is less than <tt>exp</tt>; current time minus <tt>iat</tt> is within RP freshness policy (Section 9).</li><li><strong>Subject binding:</strong> <tt>sub</tt> 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 <tt>sub</tt> <bcp14>MUST</bcp14> be ignored.</li><li><strong>Predicate applicability:</strong> <tt>prc</tt> matches, or is policy-mapped to, the decision class at hand (Section 4.4).</li><li><strong>Issuer acceptability:</strong> <tt>iss</tt> is on the RP's accepted-issuer list for <tt>prc</tt>, or satisfies the RP's issuer-trust policy.</li><li><strong>Consistency (when <tt>dist</tt> is present):</strong> the weights of <tt>dist</tt> sum to 1 within a tolerance of <tt>bins</tt> times 1e-6; and <tt>ece</tt> recomputed from <tt>dist</tt> (Section 6.2) equals <tt>cal.ece</tt> within a tolerance of 1e-6. Reject on either mismatch. When <tt>dist</tt> is absent this step cannot be performed (Section 4.2).</li></ol>
<t>A CalAt that passes all seven steps is then subject to the revocation check of Section 10.</t>
<t>A CalAt failing any step <bcp14>MUST</bcp14> be treated as absent, and the failure <bcp14>SHOULD</bcp14> be logged with the failing step. Verification failures <bcp14>MUST NOT</bcp14> reduce the subject's standing by themselves; absence of evidence is the prior, not a penalty (but see Section 10 on revocation).</t>
</section>
<section anchor="sec-deriving-a-vote-weight"><name>Deriving a Vote Weight</name>
<t>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: <tt>ece</tt>, <tt>n</tt>, <tt>iat</tt> and <tt>dist</tt>. Appendix C.9 gives worked values, and Appendix F summarizes the evaluation behind the recommendations.</t>
<t>RPs <bcp14>MUST NOT</bcp14> accept a multiplier, standing score, or equivalent influence value asserted directly by the subject.</t>
<section anchor="sec-shrinkage-and-staleness"><name>Shrinkage and Staleness</name>
<t>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 (<bcp14>RECOMMENDED</bcp14> default: 30):</t>
<sourcecode><![CDATA[
ece_s = ( n * ece + k * ece_prior ) / ( n + k )
]]></sourcecode>
<t>and then ages <tt>ece_s</tt> per Section 9 to obtain <tt>ece_eff</tt>.</t>
</section>
<section anchor="sec-skill"><name>Skill</name>
<t>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 <xref target="BRIER"/>, the mean squared difference between stated confidence and outcome, is a proper scoring rule and does say. From <tt>dist</tt> 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 <xref target="MURPHY"/>:</t>
<sourcecode><![CDATA[
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 ) )
]]></sourcecode>
<t>0.25 is the Brier score of stating 0.5 on a two-way decision, the forecast of a party that knows nothing; <tt>skill</tt> 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, <tt>skill</tt> 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.</t>
<t>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.</t>
</section>
<section anchor="sec-the-multiplier"><name>The Multiplier</name>
<sourcecode><![CDATA[
base     = clamp( 1 - lambda * ece_eff , cal_min , 1 )
cal_mult = clamp( base * ( (1 - s) + s * skill ) , cal_min , 1 )
]]></sourcecode>
<t>where lambda is an RP policy parameter (<bcp14>RECOMMENDED</bcp14> default: 1.0), <tt>cal_min</tt> &gt; 0 is a floor preserving a recovery path for poorly performing subjects (<bcp14>RECOMMENDED</bcp14> default: 0.1), and s in [0,1] is the share of the multiplier that has to be earned by skill (<bcp14>RECOMMENDED</bcp14> default: 1).</t>
<t>With s = 0 the multiplier depends on ECE alone; this is the formula of earlier revisions of this document. It is <bcp14>NOT RECOMMENDED</bcp14>: in the evaluation of Appendix F it was no better than counting votes in five of seven populations.</t>
<t>For an unattested subject (no valid CalAt for the applicable predicate class, or one without <tt>dist</tt>), RPs <bcp14>MUST</bcp14> apply the new-entrant multiplier: the formula above with <tt>ece_eff</tt> = <tt>ece_prior</tt> (<bcp14>RECOMMENDED</bcp14> default: 0.25) and <tt>skill</tt> = <tt>skill_prior</tt> (<bcp14>RECOMMENDED</bcp14> default: 0). At the recommended defaults the new-entrant multiplier equals <tt>cal_min</tt>. The new-entrant value <bcp14>SHOULD</bcp14> 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).</t>
</section>
<section anchor="sec-per-vote-weight"><name>Per-Vote Weight</name>
<t>The multiplier is one number per subject. Where votes carry a stated confidence, an RP <bcp14>MAY</bcp14> instead weight each vote by that confidence, after reading it through the subject's own record. <tt>dist</tt> 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 (<bcp14>RECOMMENDED</bcp14> default: 10):</t>
<sourcecode><![CDATA[
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
]]></sourcecode>
<t>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 <tt>believed</tt> = 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 <bcp14>MUST NOT</bcp14> be counted as a vote for the other side. For an unattested subject, <tt>believed</tt> is a fixed value in [0.5, 1) (<bcp14>RECOMMENDED</bcp14> default: 0.55) regardless of what is stated.</t>
<t>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 <bcp14>SHOULD NOT</bcp14> 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).</t>
</section>
</section>
<section anchor="sec-freshness-decay-and-expiry"><name>Freshness, Decay, and Expiry</name>
<t>Calibration evidence is perishable. Two mechanisms enforce this:</t>
<t><strong>Hard expiry:</strong> after <tt>exp</tt>, the CalAt is invalid (Section 7, step 3).</t>
<t><strong>Soft staleness decay:</strong> for a valid CalAt of age a = now - <tt>iat</tt>, the RP computes, from the shrunk value <tt>ece_s</tt> of Section 8.1,</t>
<sourcecode><![CDATA[
ece_eff = ece_s + (ece_prior - ece_s) * ( 1 - 2^( -a / D ) )
]]></sourcecode>
<t>with <tt>ece_prior</tt> the new-entrant ECE (default 0.25) and D the RP's staleness half-life (<bcp14>RECOMMENDED</bcp14> 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.</t>
</section>
<section anchor="sec-revocation"><name>Revocation</name>
<t>Issuers <bcp14>MUST</bcp14> publish a revocation mechanism and reference it from their DID document service endpoints. Implementations <bcp14>MUST</bcp14> support the status list defined in this section; RPs <bcp14>SHOULD</bcp14> check status at verification time and <bcp14>MUST</bcp14> check it for decisions in the highest irreversibility class of the applicable domain profile.</t>
<section anchor="sec-the-status-list"><name>The Status List</name>
<t>An issuer's status list is a JSON object with these members, and no others:</t>
<ul><li><strong><tt>slv</tt></strong> (string): Status list version. This document defines <tt>"1"</tt>.</li><li><strong><tt>iss</tt></strong> (string): The issuer DID.</li><li><strong><tt>iat</tt></strong> (integer): The time the list was produced, epoch seconds.</li><li><strong><tt>nxt</tt></strong> (integer, <bcp14>OPTIONAL</bcp14>): The time by which the issuer will have published a newer list. <bcp14>MUST</bcp14> be greater than <tt>iat</tt>.</li><li><strong><tt>rev</tt></strong> (array): The revocations. Each entry is an object with exactly the members <tt>aid</tt> (string), the identifier of the revoked CalAt; <tt>rsn</tt> (string), a reason code from the registry of Section 16; and <tt>at</tt> (integer), the revocation time in epoch seconds. An <tt>aid</tt> <bcp14>MUST NOT</bcp14> appear twice. Entries <bcp14>SHOULD</bcp14> be in ascending order of <tt>aid</tt>.</li><li><strong><tt>sig</tt></strong> (object): As in Section 5, over the JCS serialization of the list with <tt>sig</tt> removed. The DID of <tt>sig.kid</tt> <bcp14>MUST</bcp14> equal the list's <tt>iss</tt>.</li></ul>
<t>The list is served as <tt>application/json</tt>. An issuer whose DID method supports services references the list from a service entry of type <tt>CalAtStatusList</tt> whose <tt>serviceEndpoint</tt> is an HTTPS URL. For a DID method without service endpoints, such as <tt>did:key</tt>, the RP configures the list's location alongside its accepted-issuer list.</t>
<t>An issuer <bcp14>MUST</bcp14> keep a revoked <tt>aid</tt> on the list until the revoked CalAt's <tt>exp</tt> has passed, and <bcp14>MAY</bcp14> drop it afterwards. Because <tt>exp - iat</tt> is at most 90 days, the list is bounded by 90 days of revocations.</t>
</section>
<section anchor="sec-checking-status"><name>Checking Status</name>
<t>To check the status of a verified CalAt, an RP obtains the issuer's status list and <bcp14>MUST</bcp14> confirm that it is well-formed as above; that its <tt>iss</tt> equals the CalAt's <tt>iss</tt>; that its signature verifies as in Section 5; that its <tt>iat</tt> is not in the future; and, when <tt>nxt</tt> is present, that the current time is less than <tt>nxt</tt>. A CalAt whose <tt>aid</tt> appears in <tt>rev</tt> is revoked and <bcp14>MUST</bcp14> be treated as absent.</t>
<t>These checks authenticate the list as of its issuance. With <tt>nxt</tt> 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).</t>
<t>A list that cannot be obtained or fails any of these checks tells the RP nothing. It <bcp14>MUST NOT</bcp14> be read as showing that no CalAt is revoked. Where the status check is mandatory, the RP <bcp14>MUST</bcp14> treat the CalAt as absent; elsewhere the RP applies local policy and <bcp14>SHOULD</bcp14> log that status was not checked.</t>
</section>
<section anchor="sec-revocation-for-cause"><name>Revocation for Cause</name>
<t>An issuer <bcp14>MUST</bcp14> revoke a CalAt upon discovering settlement corruption (falsified outcomes, trail integrity failure) affecting its samples. Revocation for cause <bcp14>SHOULD</bcp14> carry the matching reason code from the registry established in Section 16: <tt>settlement-fraud</tt>, <tt>trail-integrity-failure</tt>, <tt>issuer-key-rotation</tt>, or <tt>administrative</tt>.</t>
<t>A CalAt revoked with reason <tt>settlement-fraud</tt> where the subject is implicated <bcp14>MAY</bcp14> 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).</t>
</section>
</section>
<section anchor="sec-aggregation-across-issuers"><name>Aggregation Across Issuers</name>
<t>A subject holding valid CalAts from k issuers for the same predicate class may have them combined by the RP:</t>
<sourcecode><![CDATA[
ece_agg = ( sum over j of n_j * ece_eff_j ) / ( sum over j of n_j )
]]></sourcecode>
<t>that is, the sample-count-weighted mean of staleness-adjusted ECEs, applied per issuer-trust policy.</t>
<t>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 <tt>dist</tt> with the same number of bins, RPs <bcp14>SHOULD</bcp14> 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:</t>
<sourcecode><![CDATA[
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
]]></sourcecode>
<t>with an empty bin (m_b = 0) written <tt>[0, 0, 0]</tt>. <tt>ece</tt>, 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.</t>
<t>RPs <bcp14>SHOULD</bcp14> 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 <bcp14>MUST</bcp14> report that outcome as such, it <bcp14>MUST NOT</bcp14> fail in an uncontrolled way (for example, by dividing by zero), and the RP then applies the new-entrant prior.</t>
<t>RPs <bcp14>MUST</bcp14> de-duplicate: if issuers disclose overlapping <tt>der.root</tt> trails covering the same decisions, overlapping samples <bcp14>MUST</bcp14> be counted once. What an RP can detect on its own is exact overlap. Every CalAt carries its <tt>der.root</tt>, so two CalAts with the same <tt>der.root</tt> commit to the same records, and an RP <bcp14>MUST</bcp14> 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 <tt>der.trail</tt> 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.</t>
<t>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.</t>
</section>
<section anchor="sec-transport-and-registry-considerations"><name>Transport and Registry Considerations</name>
<t>CalAts are transport-agnostic. Profiles anticipated by this document:</t>
<ul><li><strong>Registry record:</strong> carried in a NANDA-aligned agent registry record or A2A capability announcement, alongside, and never replacing, any self-declared quality claim. Registries <bcp14>SHOULD</bcp14> surface both, so the delta between self-assessment and attested record is itself visible.</li><li><strong>Presentation:</strong> presented by the subject during protocol handshake, bound to the session's proof of DID control.</li><li><strong>Query:</strong> discovery filters of the form <tt>min_cal_mult</tt> <bcp14>SHOULD</bcp14> be evaluated by the registry using the verification and derivation procedures of Sections 7 and 8, never against self-reported values.</li></ul>
</section>
<section anchor="sec-partition-and-merge-considerations"><name>Partition and Merge Considerations</name>
<t>Settlement continues on both sides of a network partition. On heal, issuers <bcp14>MUST</bcp14> 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 <tt>exp</tt>, 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.</t>
<section anchor="sec-equivocation"><name>Equivocation</name>
<t>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 <tt>id</tt> 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.</t>
<t>When the merged records contain two or more records with the same <tt>id</tt> and different values of <tt>c</tt>, that is equivocation evidence. The issuer <bcp14>MUST</bcp14> replace those records with a single record for that <tt>id</tt>, carrying the settled outcome <tt>y</tt>, the earliest of their settlement times, and the one confidence, of those the subject stated, that is furthest from the outcome: the lowest <tt>c</tt> if <tt>y</tt> is 1, the highest if <tt>y</tt> is 0.</t>
<t>The issuer <bcp14>MUST NOT</bcp14> resolve the conflict by choosing a claim on any other basis, and <bcp14>MUST NOT</bcp14> 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.</t>
<t>Records with the same <tt>id</tt> and the same <tt>c</tt> are one decision delivered twice, not equivocation; the issuer <bcp14>MUST</bcp14> keep one of them, with the earliest settlement time. Records without an <tt>id</tt> cannot be matched and are merged as they are.</t>
<t>If records with the same <tt>id</tt> carry different outcomes <tt>y</tt>, the disagreement is in the settlement and not only in the subject's claims, and no outcome can be relied on. The issuer <bcp14>MUST</bcp14> exclude every record with that <tt>id</tt> and <bcp14>SHOULD</bcp14> treat the discrepancy as a trail integrity failure (Section 10.3). This is the only case in which a decision is excluded.</t>
<t>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 <bcp14>SHOULD</bcp14> revoke that CalAt with reason <tt>settlement-fraud</tt> (Section 10).</t>
</section>
<section anchor="sec-reissue"><name>Reissue</name>
<t>After applying Section 13.1, the issuer orders the resulting records by settlement time <tt>t</tt>, then by <tt>c</tt>, then by <tt>y</tt>, computes <tt>der.root</tt> over them in that order, and issues a single CalAt. Two distinct decisions can have identical <tt>t</tt>, <tt>c</tt>, and <tt>y</tt> values but different <tt>id</tt> values. In this case the three-field sort permits either relative order. The leaf inputs differ because they include <tt>id</tt>, so two merges of the same records can produce different <tt>der.root</tt> values. The aggregate calibration statistics are the same for this pair in either order.</t>
</section>
<section anchor="sec-boundary-with-authority-renewal"><name>Boundary With Authority Renewal</name>
<t>Authority of the issuer's keys under partition is out of scope here and governed by <xref target="RENEWAL"/>; the two documents compose: that draft keeps the signer trustworthy across the partition, this one keeps the claim honest across it. The composition is by reference only. A CalAt <bcp14>MUST NOT</bcp14> be nested inside a renewal proof defined by that draft, whose objects admit no additional members, and a renewal proof <bcp14>MUST NOT</bcp14> be nested inside a CalAt. Where a deployment needs to tie the two together it refers to the renewal request by its identifier or digest. Quorum arithmetic for peer sets is that draft's and is not redefined here.</t>
</section>
</section>
<section anchor="sec-security-considerations"><name>Security Considerations</name>
<section anchor="sec-self-assertion-t1"><name>Self-Assertion (T1)</name>
<t>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.</t>
</section>
<section anchor="sec-confidence-gaming-and-sandbagging-t2-t3"><name>Confidence Gaming and Sandbagging (T2, T3)</name>
<t>Overconfidence raises ECE and lowers skill, and is self-defeating. Chronic underconfidence does the same in the other direction.</t>
<t>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.</t>
<t>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 <bcp14>SHOULD</bcp14> compare <tt>n</tt> and <tt>win</tt> with the number of decisions the subject was eligible for, where it knows that number.</t>
</section>
<section anchor="sec-issuer-compromise-or-fraud"><name>Issuer Compromise or Fraud</name>
<t>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.</t>
</section>
<section anchor="sec-identity-rotation-laundering-t7"><name>Identity Rotation Laundering (T7)</name>
<t>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.</t>
<t>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 <tt>der.root</tt>; 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.</t>
</section>
<section anchor="sec-replay-and-substitution"><name>Replay and Substitution</name>
<t><tt>aid</tt> 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 <tt>sub</tt>.</t>
<t>The signature binds the object to a key, and Section 5 binds the key to <tt>iss</tt>. Both are needed. A verifier that resolved <tt>kid</tt> wherever it pointed, and compared <tt>iss</tt> 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 <tt>iss</tt>. The reference implementation had this defect before this revision; Appendix C.4 includes the forgery as a vector that <bcp14>MUST</bcp14> be rejected.</t>
</section>
<section anchor="sec-downgrade"><name>Downgrade</name>
<t>RPs <bcp14>MUST NOT</bcp14> 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).</t>
</section>
<section anchor="sec-limitations-of-ece"><name>Limitations of ECE</name>
<t>ECE is the summary this document attests, and it has known limits that an RP should weigh. This section is informative.</t>
<t>ECE depends on the binning. The same samples give different values for different <tt>bins</tt>, which is why <tt>bins</tt> is carried in the object and why CalAts are compared only at equal <tt>bins</tt>.</t>
<t>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.</t>
<t>ECE is noisy at small <tt>n</tt>. 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.</t>
<t>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 <tt>dist</tt>. 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.</t>
<t>Everything derived from <tt>dist</tt> 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.</t>
</section>
<section anchor="sec-correlated-subjects"><name>Correlated Subjects</name>
<t>Several subjects that share one model, one operator, or one source of information are one opinion with several votes. Nothing in this document detects that. Each subject's CalAt describes its own record, and a weight derived from it is blind to agreement between subjects that is not independent; in the evaluation of Appendix F such subjects retained close to a third of the total weight under every rule that looks only at each subject's own record. An RP that knows which subjects share a model or operator <bcp14>SHOULD</bcp14> cap their combined weight. Detecting the dependence from attestations alone is an open problem (Appendix E).</t>
</section>
</section>
<section anchor="sec-privacy-considerations"><name>Privacy Considerations</name>
<t>A CalAt aggregates a subject's decision record; the format deliberately discloses summary statistics, not per-decision data. <tt>dist</tt> reveals the shape of a subject's confidence behavior. An issuer <bcp14>MAY</bcp14> omit it, at the cost Section 4.2 states: the CalAt then earns no more weight than no CalAt. The <tt>der.trail</tt> URI <bcp14>MUST</bcp14> be access-controlled; inclusion proofs reveal settled-decision records and are for authorized auditors, not the public. Issuers <bcp14>SHOULD</bcp14> consider whether window bounds plus sample counts permit inference of a subject's activity level, and <bcp14>MAY</bcp14> coarsen <tt>win</tt> timestamps to day granularity. <tt>dist</tt>, <tt>win</tt> and <tt>n</tt> together can indicate how active a subject has been and at what confidence it tends to act; coarsening <tt>win</tt> and omitting <tt>dist</tt> 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.</t>
<t>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 <tt>aid</tt> is linkable to a subject only by a party that has seen the CalAt.</t>
</section>
<section anchor="sec-iana-considerations"><name>IANA Considerations</name>
<t>This document requests establishment of three registries under a "Calibration Attestation" heading (policy: Specification Required):</t>
<ol><li><strong>CalAt Predicate Classes:</strong> initial entries per Section 4.4. A registration consists of the identifier; a reference to a specification of the confirmation predicate, including what settles as abstained; the settlement source; the minimum-evidence floor (default 10); and a change controller. For <tt>nanda.code.test-outcome</tt> and <tt>nanda.commerce.fulfilment</tt> 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.</li><li><strong>CalAt Signature Algorithms:</strong> initial entries <tt>ed25519</tt>, <tt>es256</tt>.</li><li><strong>CalAt Revocation Reason Codes:</strong> initial entries <tt>settlement-fraud</tt>, <tt>trail-integrity-failure</tt>, <tt>issuer-key-rotation</tt>, <tt>administrative</tt>.</li></ol>
<t>This document also uses the DID document service type <tt>CalAtStatusList</tt> (Section 10).</t>
</section>
</middle>
<back>
<references><name>References</name>
<references><name>Normative References</name><reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119"><front><title>Key words for use in RFCs to Indicate Requirement Levels</title><author initials="S." surname="Bradner"/><date month="March" year="1997"/></front><seriesInfo name="BCP" value="14"/><seriesInfo name="RFC" value="2119"/></reference><reference anchor="RFC8174" target="https://www.rfc-editor.org/info/rfc8174"><front><title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title><author initials="B." surname="Leiba"/><date month="May" year="2017"/></front><seriesInfo name="BCP" value="14"/><seriesInfo name="RFC" value="8174"/></reference><reference anchor="RFC4648" target="https://www.rfc-editor.org/info/rfc4648"><front><title>The Base16, Base32, and Base64 Data Encodings</title><author initials="S." surname="Josefsson"/><date month="October" year="2006"/></front><seriesInfo name="RFC" value="4648"/></reference><reference anchor="RFC9162" target="https://www.rfc-editor.org/info/rfc9162"><front><title>Certificate Transparency Version 2.0</title><author initials="B." surname="Laurie"/><author initials="E." surname="Messeri"/><author initials="R." surname="Stradling"/><date month="December" year="2021"/></front><seriesInfo name="RFC" value="9162"/></reference><reference anchor="RFC8032" target="https://www.rfc-editor.org/info/rfc8032"><front><title>Edwards-Curve Digital Signature Algorithm (EdDSA)</title><author initials="S." surname="Josefsson"/><author initials="I." surname="Liusvaara"/><date month="January" year="2017"/></front><seriesInfo name="RFC" value="8032"/></reference><reference anchor="RFC8259" target="https://www.rfc-editor.org/info/rfc8259"><front><title>The JavaScript Object Notation (JSON) Data Interchange Format</title><author initials="T." surname="Bray"/><date month="December" year="2017"/></front><seriesInfo name="STD" value="90"/><seriesInfo name="RFC" value="8259"/></reference><reference anchor="RFC8610" target="https://www.rfc-editor.org/info/rfc8610"><front><title>Concise Data Definition Language (CDDL): A Notational Convention to Express Concise Binary Object Representation (CBOR) and JSON Data Structures</title><author initials="H." surname="Birkholz"/><author initials="C." surname="Vigano"/><author initials="C." surname="Bormann"/><date month="June" year="2019"/></front><seriesInfo name="RFC" value="8610"/></reference><reference anchor="RFC8785" target="https://www.rfc-editor.org/info/rfc8785"><front><title>JSON Canonicalization Scheme (JCS)</title><author initials="A." surname="Rundgren"/><author initials="B." surname="Jordan"/><author initials="S." surname="Erdtman"/><date month="June" year="2020"/></front><seriesInfo name="RFC" value="8785"/></reference><reference anchor="DIDCORE" target="https://www.w3.org/TR/did-core/"><front><title>Decentralized Identifiers (DIDs) v1.0</title><author><organization>W3C</organization></author><date year="2022" month="July"/></front><seriesInfo name="W3C" value="Recommendation"/></reference><reference anchor="IEEE754"><front><title>IEEE Standard for Floating-Point Arithmetic</title><author><organization>IEEE</organization></author><date year="2019" month="July"/></front><seriesInfo name="IEEE Std" value="754-2019"/></reference></references>
<references><name>Informative References</name><reference anchor="SOOSPT" target="https://datatracker.ietf.org/doc/html/draft-sato-soos-pt-04"><front><title>Progressive Trust (PT) for Agentic AI Governance Systems</title><author initials="T." surname="Sato"/><date year="2026" month="September"/></front><seriesInfo name="Internet-Draft" value="draft-sato-soos-pt-04"/></reference><reference anchor="RFC8792" target="https://www.rfc-editor.org/info/rfc8792"><front><title>Handling Long Lines in Content of Internet-Drafts and RFCs</title><author initials="K." surname="Watsen"/><author initials="E." surname="Auerswald"/><author initials="A." surname="Farrel"/><author initials="Q." surname="Wu"/><date month="June" year="2020"/></front><seriesInfo name="RFC" value="8792"/></reference><reference anchor="RFC9562" target="https://www.rfc-editor.org/info/rfc9562"><front><title>Universally Unique IDentifiers (UUIDs)</title><author initials="K." surname="Davis"/><author initials="B." surname="Peabody"/><author initials="P." surname="Leach"/><date month="May" year="2024"/></front><seriesInfo name="RFC" value="9562"/></reference><reference anchor="DIDKEY" target="https://w3c-ccg.github.io/did-method-key/"><front><title>The did:key Method v0.7</title><author><organization>W3C Credentials Community Group</organization></author><date year="2022"/></front></reference><reference anchor="EARNED"><front><title>Earned Standing: Calibration-Weighted, Outcome-Attested Reputation for Autonomous Agent Meshes</title><author initials="S." surname="Chandra"/><date year="2026"/></front></reference><reference anchor="RENEWAL"><front><title>Extend-Only, Threshold-Attested Authority Renewal for Partitioned Agent Meshes</title><author initials="S." surname="Chandra"/><date year="2026" month="November"/></front><seriesInfo name="Internet-Draft" value="draft-chandra-wimse-partition-tolerant-renewal-00"/></reference><reference anchor="GUO"><front><title>On Calibration of Modern Neural Networks</title><author initials="C." surname="Guo"/><author initials="G." surname="Pleiss"/><author initials="Y." surname="Sun"/><author initials="K." surname="Weinberger"/><date year="2017"/></front><seriesInfo name="ICML" value="2017"/></reference><reference anchor="MURPHY"><front><title>A New Vector Partition of the Probability Score</title><author initials="A." surname="Murphy"/><date year="1973"/></front><seriesInfo name="Journal of Applied Meteorology" value="12(4)"/></reference><reference anchor="COOKE"><front><title>Experts in Uncertainty: Opinion and Subjective Probability in Science</title><author initials="R." surname="Cooke"/><date year="1991"/></front><seriesInfo name="Oxford University Press" value="ISBN 9780195064650"/></reference><reference anchor="BRIER"><front><title>Verification of Forecasts Expressed in Terms of Probability</title><author initials="G." surname="Brier"/><date year="1950"/></front><seriesInfo name="Monthly Weather Review" value="78(1)"/></reference><reference anchor="BSL" target="https://www.w3.org/TR/vc-bitstring-status-list/"><front><title>Bitstring Status List v1.0</title><author><organization>W3C</organization></author><date year="2025" month="May"/></front><seriesInfo name="W3C" value="Recommendation"/></reference><reference anchor="VCDM2" target="https://www.w3.org/TR/vc-data-model-2.0/"><front><title>Verifiable Credentials Data Model v2.0</title><author><organization>W3C</organization></author><date year="2025" month="May"/></front><seriesInfo name="W3C" value="Recommendation"/></reference></references>
</references>
<section anchor="sec-cddl-definition"><name>CDDL Definition</name>
<t>The structure of the CalAt object, the settled-decision record and the status list, in CDDL <xref target="RFC8610"/> applied to JSON. A map lists every member its object may carry. The prose states the rules CDDL does not: <tt>exp</tt> after <tt>iat</tt> and within 90 days, <tt>t1</tt> at most <tt>iat</tt>, the number of <tt>dist</tt> entries equal to <tt>bins</tt>, the weights of <tt>dist</tt> summing to 1, the DID of <tt>kid</tt> equal to <tt>iss</tt>, and uniqueness of <tt>aid</tt> 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.</t>
<sourcecode type="cddl"><![CDATA[
; 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
]]></sourcecode>
</section>
<section anchor="sec-example-attestation"><name>Example Attestation</name>
<t>An illustrative CalAt. The <tt>cal</tt> payload is exact and reproduces under Section 6.2 and Section 7, step 7; <tt>der.root</tt> and <tt>sig.val</tt> are placeholders, and the identifiers are <tt>did:web</tt> examples that the test vectors do not use. Appendix C gives a CalAt that verifies end to end.</t>
<sourcecode type="json"><![CDATA[
{
  "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..."
  }
}
]]></sourcecode>
<t>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. <tt>dist</tt> lists all ten bins; four are empty. Recomputing from <tt>dist</tt>:</t>
<sourcecode><![CDATA[
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
]]></sourcecode>
<t>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 <tt>dist</tt>, and derives the multiplier:</t>
<sourcecode><![CDATA[
ece_shrunk = 0.059456
brier = 0.127917
skill = 0.698808
multiplier = 0.657259
]]></sourcecode>
<t>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 <tt>nanda.orbital.maneuver</tt>. 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.</t>
</section>
<section anchor="sec-test-vectors"><name>Test Vectors</name>
<t>These vectors are generated, not written by hand, by the reference implementation's <tt>conformance/_vector_gen.py</tt>, 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 <bcp14>MUST NOT</bcp14> be used for anything else. Long lines are folded per <xref target="RFC8792"/>.</t>
<t>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.</t>
<section anchor="sec-keys-and-identifiers"><name>Keys and Identifiers</name>
<t>The issuer key is the Ed25519 key <xref target="RFC8032"/> whose 32-octet seed is 0x11 repeated. The subject DID and the unrelated DID are the <tt>did:key</tt> identifiers of the Ed25519 keys with seeds 0x22 repeated and 0x33 repeated.</t>
<sourcecode><![CDATA[
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
]]></sourcecode>
</section>
<section anchor="sec-a-valid-calat-vector-01"><name>A Valid CalAt (Vector 01)</name>
<t>Twelve settled decisions with a 30-day half-life. Verified at now = 1785110500 for the subject DID above, predicate class <tt>nanda.orbital.maneuver</tt>, and an accepted-issuer list containing the issuer DID above, it passes every step of Section 7.</t>
<sourcecode type="json"><![CDATA[
========== 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"
  }
}
]]></sourcecode>
</section>
<section anchor="sec-signing-input-vector-11"><name>Signing Input (Vector 11)</name>
<t>The JCS serialization of the object in C.2 without <tt>sig</tt>. It is one line with no trailing newline; the signature is over its UTF-8 octets. Note that JCS writes 0.0 as <tt>0</tt> and 1.0 as <tt>1</tt>.</t>
<sourcecode><![CDATA[
========== 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
]]></sourcecode>
</section>
<section anchor="sec-calats-that-must-be-rejected-vectors-02-07-13-15"><name>CalAts That Must Be Rejected (Vectors 02-07, 13-15)</name>
<t>Each is the object of C.2, or the verification inputs of C.2, with the stated changes (members are named by JSON Pointer; <tt>input</tt> lines change a verification input and not the object), and each <bcp14>MUST</bcp14> fail at the stated step of Section 7 and at no earlier one. The step names are <tt>structure</tt> (step 1), <tt>signature</tt> (2), <tt>temporal</tt> (3), <tt>subject_binding</tt> (4), <tt>predicate</tt> (5), <tt>issuer</tt> (6) and <tt>consistency</tt> (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 <tt>kid</tt> while keeping the trusted <tt>iss</tt>. Vector 14 has the shape of the earlier editor version's Appendix B example: a <tt>dist</tt> that omits empty bins.</t>
<sourcecode><![CDATA[
========== 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
]]></sourcecode>
</section>
<section anchor="sec-bin-boundaries-vector-10"><name>Bin Boundaries (Vector 10)</name>
<t>The bin index of Section 6.2 for confidences on and near bin edges.</t>
<sourcecode><![CDATA[
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
]]></sourcecode>
</section>
<section anchor="sec-derivation-commitment-and-inclusion-proof-vector-12"><name>Derivation Commitment and Inclusion Proof (Vector 12)</name>
<t>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 <tt>der.root</tt> 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 <xref target="RFC9162"/>, Section 2.1.3.2; for index 7 in a tree of 12 every element is a left sibling except the last.</t>
<sourcecode><![CDATA[
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
]]></sourcecode>
</section>
<section anchor="sec-status-list-vectors-16-and-17"><name>Status List (Vectors 16 and 17)</name>
<t>A status list from the same issuer, revoking the CalAt of C.2 with reason <tt>settlement-fraud</tt>, and its two verification outcomes.</t>
<sourcecode type="json"><![CDATA[
========== 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.
]]></sourcecode>
</section>
<section anchor="sec-appendix-b-and-its-predecessor-vectors-08-and-09"><name>Appendix B and Its Predecessor (Vectors 08 and 09)</name>
<t>Vector 09 is the <tt>cal</tt> payload of Appendix B with the three numbers derived from it: <tt>ece</tt> 0.0192, <tt>acc</tt> 0.7875 and <tt>cal_mult</tt> 0.9808. Vector 08 keeps the earlier editor version's six-entry table, whose <tt>ece</tt> also recomputes to 0.0192 and not to the 0.041273 that revision printed.</t>
</section>
<section anchor="sec-consumption-equivocation-and-pooling-vectors-18-21"><name>Consumption, Equivocation and Pooling (Vectors 18-21)</name>
<t>The multiplier of Section 8 for the CalAt of C.2, checked at now = 1785110500 with the recommended parameters. <tt>cal_mult_ece_only</tt> is the same computation with s = 0; <tt>cal_mult_without_dist</tt> is the CalAt of C.2 with <tt>dist</tt> removed.</t>
<sourcecode><![CDATA[
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
]]></sourcecode>
<t>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.</t>
<sourcecode><![CDATA[
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
]]></sourcecode>
<t>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.</t>
<sourcecode><![CDATA[
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"}
]]></sourcecode>
<t>Pooling two issuers' tables for one subject (Section 11), five bins.</t>
<sourcecode><![CDATA[
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
]]></sourcecode>
</section>
</section>
<section anchor="sec-change-log"><name>Development History</name>
<t>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.</t>
<section anchor="sec-changes-from-02"><name>Changes from Internal Revision -02</name>
<t>This revision adds predicate classes and the rule they are held to. The CalAt object (<tt>cav</tt> "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.</t>
<t>Added:</t>
<ul><li>Two predicate classes with full profiles: <tt>nanda.code.test-outcome</tt> and <tt>nanda.commerce.fulfilment</tt> (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.</li><li>A statement of what a domain must supply for a class to be definable (Section 1.3).</li><li>A requirement on registrations: a cause of non-settlement that the subject controls settles as incorrect, never as abstained (Sections 1.3 and 4.4).</li><li>Vectors 22 and 23: settlement cases for the two profiles (Appendix G.3).</li></ul>
</section>
<section anchor="sec-changes-from-01"><name>Changes from Internal Revision -01</name>
<t>This revision changes how a CalAt is merged and consumed. The CalAt object (<tt>cav</tt> "1", its members, and the structure in Appendix A) is again unchanged, and so are the verification steps of Section 7.</t>
<t>Changed:</t>
<ul><li>Equivocation across a partition is penalized, not excluded (Section 13.1). Under -01 a subject could remove a decision from its record by stating two confidences for it. A decision delivered twice with the same claim is now counted once, and a decision with two different outcomes is the one case still excluded.</li><li>The multiplier is scaled by skill, computed from <tt>dist</tt> with the Brier score (Sections 8.2 and 8.3). The ECE-only multiplier of -01 remains expressible (s = 0) and is <bcp14>NOT RECOMMENDED</bcp14>.</li><li>A CalAt without <tt>dist</tt> earns no more weight than no CalAt (Sections 4.2 and 8.3). Issuers <bcp14>SHOULD</bcp14> now include <tt>dist</tt> always, not only from 30 samples.</li><li>The new-entrant multiplier at the recommended defaults is <tt>cal_min</tt> (0.1), not 0.75: an unattested subject has shown no skill.</li><li>The attested ECE is shrunk toward the prior by sample count before it is aged (Section 8.1).</li><li>Aggregation across issuers pools <tt>dist</tt> tables where it can (Section 11).</li></ul>
<t>Added:</t>
<ul><li>A per-vote weight from a stated confidence read through <tt>dist</tt> (Section 8.4).</li><li>Security considerations for base-rate stating and selective participation (Section 14.2) and for correlated subjects (Section 14.8).</li><li>Vectors 18 to 21 (Appendix C.9) and an evaluation summary (Appendix F).</li></ul>
<t>Corrected: two statements in Section 1.1 that claimed more than is known, about what deployed mechanisms do and about what calibration alone establishes.</t>
</section>
<section anchor="sec-changes-from-00"><name>Changes from Internal Revision -00</name>
<t>Revision -01 corrected errors in -00 and brought the text up to its reference implementation. The CalAt object (<tt>cav</tt> "1", its members, and the structure in Appendix A) is unchanged; an object that was a well-formed -00 CalAt and carried no <tt>dist</tt>, or a <tt>dist</tt> listing every bin, is a well-formed -01 CalAt.</t>
<t>Corrections:</t>
<ul><li>Appendix B's worked example did not reproduce. It stated <tt>ece</tt> = 0.041273 and cal_mult of about 0.959; the example's own <tt>dist</tt> gives 0.0192 and 0.9808. An independent recomputation in exact rational arithmetic, <tt>conformance/check_appendix_b.py</tt>, prints for -00: table length 6 against <tt>bins</tt> 10, <tt>ece</tt> 0.0192 against 0.041273, <tt>acc</tt> 0.7875 against 0.937; and for -01: length 10, weights summing to 1, <tt>ece</tt> 0.0192, <tt>acc</tt> 0.7875, cal_mult 0.9808, all matching. The -00 verification procedure (Section 7, step 7) would have rejected the -00 example.</li><li>The example's <tt>acc</tt> (0.937) was also inconsistent with its <tt>dist</tt>; it is now 0.7875.</li><li>The example's timestamps were in 2025; they are now 2026, with the same intervals.</li><li>The author's initial in the address block was wrong.</li><li>Appendix A's CDDL did not parse as written: two rule names (<tt>uri</tt>, <tt>b64url</tt>) 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.</li></ul>
<t>Rules that -00 left undefined:</t>
<ul><li>Bin edges and the bin-index computation (Section 6.2).</li><li>The meaning of the <tt>dist</tt> 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.</li><li>The consequence of an absent <tt>dist</tt> (Section 4.2).</li><li>The settled-decision record, its leaf encoding, and the tree construction behind <tt>der.root</tt> (Section 4.3).</li><li>The revocation status list: format, location, and checking (Section 10).</li><li>The reference DID resolver (Section 5).</li></ul>
<t>Brought up from the implementation:</t>
<ul><li><tt>sig.kid</tt> must be under <tt>iss</tt> (Section 5, Section 14.5). The -00 text implied this and did not require it, and the implementation did not check it.</li><li>Equivocation across a partition is never resolved by choosing a claim (-01 excluded the decision; see above); reissue order; and the boundary with authority renewal (Section 13).</li><li>Exact-root de-duplication and the contribution cap in aggregation (Section 11).</li><li>Recency-weighting invariance under a shift of issuance time (Section 6.2).</li><li>Informative notes on identity-rotation detection (Section 14.4) and on the limits of ECE (Section 14.7).</li></ul>
<t>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).</t>
<t>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 <tt>der.root</tt> computed by the -01 or a later implementation differs from one computed by the -00 implementation over the same records.</t>
</section>
</section>
<section anchor="sec-open-issues"><name>Open Issues</name>
<t>Three details affect what independent implementations can reproduce or verify:</t>
<ul>
<li><strong>Reissue after a partition.</strong> Section 13.2 leaves ties between distinct Merkle leaves unresolved. A total ordering and a vector that exercises tied records in both input orders remain to be specified.</li>
<li><strong>Revocation-list freshness.</strong> Section 10.2 gives no maximum list age when <tt>nxt</tt> 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.</li>
<li><strong>Signature interoperability.</strong> Appendix C supplies Ed25519 vectors. The optional <tt>es256</tt> identifier lacks a signature encoding and an interoperability vector.</li>
</ul>
<t>Other open issues are listed below.</t>
<ul><li><strong>Predicate classes.</strong> Five classes are registered: three from one operational domain, and two for digital work. Most agent work has no class yet, including any whose outcome is a matter of opinion (Section 1.3).</li><li><strong>Confirmation-predicate profiles.</strong> The three original classes have no full profile of the kind Section 4.4 requires. Until each does, two issuers of that class may settle outcomes differently. The two profiles of Appendix G have not been exercised by an issuer other than the reference implementation.</li><li><strong>Settlement-source honesty.</strong> A profile fixes how a record settles. It does not make the record true: an operator of checks that reports a pass that did not happen, or a platform that reports a delivery that did not, is the issuer-fraud case of Section 14.3.</li><li><strong>Envelope.</strong> The object is custom JSON with a <tt>sig</tt> member over a JCS serialization. Expressing it as a W3C Verifiable Credential <xref target="VCDM2"/> would bring existing tooling, proof suites, and the Bitstring Status List <xref target="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.</li><li><strong>Correlated subjects.</strong> Detecting that several subjects are one opinion (Section 14.8) from attestations alone.</li><li><strong>Issuer accountability.</strong> A profile that makes an issuer's settlement checkable by more than one auditor: several independent issuers per predicate class, registration of CalAts and trails in a transparency service, or a dispute window. Section 14.3 lists what exists today.</li><li><strong>Commit before outcome.</strong> Settlement times are issuer-asserted. The profiles of Appendix G require that the claim precede the run or the order, and settle a late claim as abstained, but nothing in this document proves to a third party that a confidence was recorded before its outcome was knowable.</li><li><strong>Finer recalibration.</strong> The per-vote weight of Section 8.4 works at the width of a bin.</li></ul>
</section>
<section anchor="sec-evaluation"><name>Evaluation</name>
<t>This appendix is informative. It summarizes a simulation published with the reference implementation (<tt>bench/</tt>), 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.</t>
<t>The rules are: <tt>headcount</tt> (one per vote); <tt>confidence</tt> (log-odds of the stated confidence, no history); <tt>accuracy</tt> (past hit rate above chance); <tt>hedge</tt> (multiplicative weights on Brier loss); <tt>calat-ece</tt> (Section 8.3 with s = 0); <tt>calat-skill</tt> (Section 8.3 with s = 1); <tt>calat-skill+conf</tt> (that multiplier times the log-odds of the stated confidence); and <tt>calat-recal</tt> (Section 8.4).</t>
<sourcecode><![CDATA[
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
]]></sourcecode>
<t>What the results support:</t>
<ul><li>The ECE-only multiplier is no better than counting votes in five of the seven populations. It gives full weight to a subject that is calibrated and uninformative, and it does nothing when every subject is honest.</li><li>The skill-scaled multiplier and the recalibrated per-vote weight are each better than counting votes in all seven.</li><li>Only the recalibrated per-vote weight holds up against subjects that build a record and then vote wrongly at a confidence they have not used before.</li><li>Weighting by stated confidence without recalibration is exploitable, with or without a multiplier.</li><li>No rule here beats weighting by past accuracy in every population. What an attestation adds to past accuracy is that it is signed, portable between organizations, and recomputable by the party relying on it.</li><li>No rule here addresses correlated subjects (Section 14.8).</li></ul>
<t>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.</t>
</section>
<section anchor="sec-predicate-class-profiles"><name>Predicate Class Profiles</name>
<t>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 <tt>c</tt>, the outcome as <tt>y</tt>, and the settlement time given below as <tt>t</tt>.</t>
<t>A profile settles each decision as correct (y = 1), incorrect (y = 0), abstained (final; no record), or pending (not yet settled; no record).</t>
<t>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.</t>
<section anchor="sec-nanda-code-test-outcome"><name>nanda.code.test-outcome</name>
<t><strong>Claim.</strong> A subject proposes a change to a body of software and states a confidence that the change passes the target checks.</t>
<t><strong>Settlement source.</strong> The operator of the checks: the party that runs them on the change and records the results. It <bcp14>MUST NOT</bcp14> be the subject.</t>
<t><strong>Target checks.</strong> 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 <bcp14>SHOULD NOT</bcp14> be named.</t>
<t><strong>Confirmation predicate.</strong> The operator runs each target check, as that check is defined at the base revision, against the software with the change applied. It <bcp14>MAY</bcp14> 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.</t>
<t>The following are failures of a target check, not abstentions:</t>
<ul><li>The check fails in any run, even if it passes in another.</li><li>The check has no result in a run because the change removed it or made it impossible to run.</li><li>The software does not build, or the check exceeds its time limit, with the change applied.</li></ul>
<t>A result obtained from a check that the change added, or from a target check in the form the change gave it, <bcp14>MUST NOT</bcp14> be counted in either direction.</t>
<t><strong>Abstained.</strong> 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.</t>
<t><strong>Record.</strong> <tt>t</tt> is the time the last run finished.</t>
<t><strong>Minimum evidence.</strong> The registry default of 10 (Section 6.3).</t>
<t>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.</t>
</section>
<section anchor="sec-nanda-commerce-fulfilment"><name>nanda.commerce.fulfilment</name>
<t><strong>Claim.</strong> 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.</t>
<t><strong>Settlement source.</strong> The order or payment platform that carried the order. It <bcp14>MUST NOT</bcp14> be the subject or the merchant.</t>
<t><strong>Confirmation predicate.</strong> 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.</t>
<t>The following settle as incorrect:</t>
<ul><li>Delivery after the deadline, or a charge above the offered price.</li><li>Cancellation by the merchant, or a refund for non-delivery.</li><li>A dispute upheld by the platform.</li><li>An order still undelivered when the deadline passes.</li><li>Cancellation by the buyer that the platform records as following a notice from the merchant of delay or unavailability.</li></ul>
<t><strong>Abstained.</strong> 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.</t>
<t><strong>Pending.</strong> An undelivered order whose deadline has not passed, and a delivered order whose dispute window has not closed, are not yet settled. An issuer <bcp14>MUST NOT</bcp14> record a sample for either.</t>
<t><strong>Record.</strong> <tt>t</tt> 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, <tt>t</tt> is the earlier of the cancellation and the deadline.</t>
<t><strong>Minimum evidence.</strong> The registry default of 10 (Section 6.3).</t>
<t>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.</t>
</section>
<section anchor="sec-settlement-vectors-vectors-22-and-23"><name>Settlement Vectors (Vectors 22 and 23)</name>
<t>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.</t>
<t>In vector 22, <tt>targets</tt> are the target checks and <tt>runs</tt> is one array of results per run; <tt>origin</tt> is <tt>base</tt> for a check run as defined at the base revision and <tt>change</tt> otherwise.</t>
<sourcecode><![CDATA[
========== 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
]]></sourcecode>
<t>In vector 23, the tolerance and the dispute window apply to every case, and <tt>now</tt> is the time at which the case is evaluated.</t>
<sourcecode><![CDATA[
========== 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
]]></sourcecode>
</section>
</section>
</back>
</rfc>
