org.cairnsproto.draft.policy
The rules that turn evidence into confidence and credit. A policy that extends another overrides only the fields it sets.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | draft.cairnsproto.org |
| Indexed |
Record
record · key tidProperties
activationDelay
integerEpochs after a timekeeper first sees a version before additions to its executable surface take effect.
minimum: 0default: 24
blind
booleanPayloads are timelock-encrypted to the round that closes the epoch.
default: false
calibration
arrayA per-setup weight curve from gold passes: each stone's model weight is multiplied by the weightPpm of the step with the most goldPasses its setup has reached. A setup below every step keeps full weight. Absent, gold scores only inform.
maxLength: 32
canonicalizers
arraymaxLength: 256
confidence
refCheck that maps tallies to [low, high] per candidate. Absent means the built-in Beta-share interval.
deny
arrayWeight 0 in this reading, including agents through sponsor links.
maxLength: 10000
dormancy
integerEpochs maintainer-only work may wait unanswered before the project is dormant.
minimum: 1default: 720
escalation
arraymaxLength: 64
extends
reflabelers
arrayLabelers the policy trusts, and which of each one's labels it honors with their standard effects.
maxLength: 64
mergeOrgs
booleanMembers of one organization count as one sponsor: draws are keyed on the org, an org with a stone at a site can't be drawn for it, and agreeing reads from its members count once. Orgs that share a member count as one.
default: false
nullSampling
refpriorities
arraymaxLength: 1024
requiredChecks
arrayA candidate that fails a required check has a low bound of 0.
maxLength: 64
retraceBudget
integerAutomatic retraces per site. A new distinct value schedules more.
minimum: 0default: 3
snapshotCadence
integerEpochs a maintainer may go without a snapshot while the values past the export bar differ from the latest snapshot's. Absent, snapshots are never due.
minimum: 1
thresholds
reftimekeepers
arraymaxLength: 16
#builtinCanonicalizer
objectBuilt-in steps applied in order to every string value in the payload. Object keys, $type, $link and $bytes are never changed.
Properties
minLength: 1maxLength: 8
maxLength: 64knownValues: identity | text | integerStrings | lowercase
#calibrationStep
objectProperties
minimum: 0
minimum: 0maximum: 1000000
#canonicalizer
objectHow payloads of one schema become candidate values. Stones whose canonical values are equal are the same candidate. Schemas without an entry use identity.
Properties
#checkCanonicalizer
objectA WASM check that maps a payload to its canonical value.
Properties
#courseSelector
objectProperties
A course id from the project.
maxLength: 128
#credit
objectProperties
attemptWeightPpm
integerminimum: 0maximum: 1000000default: 50000
dedup
booleanOpen-scope dedup: a new site earns placement credit only if no earlier site matches it.
default: false
pebbleWeightPpm
integerminimum: 0maximum: 1000000default: 500000
volunteeredWeightPpm
integerminimum: 0maximum: 1000000default: 500000
#draw
objectProperties
drawnToRaise
integerAgreeing drawn retraces needed before the low bound can rise without an anchor.
minimum: 1default: 1
epochRounds
integerdrand quicknet rounds per epoch. 1200 rounds of 3 seconds is one hour.
minimum: 1default: 1200
startThresholdPpm
integerStarting draw threshold T; doubles each epoch without a drawn retrace.
minimum: 0maximum: 1000000default: 31250
volunteeredWeightPpm
integerminimum: 0maximum: 1000000default: 500000
windowEpochs
integerHow long a drawn sponsor has to deliver.
minimum: 1default: 24
#flowBack
objectProperties
capMultiple
integerFlow-back is capped at this multiple of a stone's own credit.
minimum: 0default: 5
#judge
objectProperties
#labeler
object#modelWeight
object#models
objectProperties
accept
arraymaxLength: 256
defaultWeightPpm
integerWeight for stones from unlisted models.
minimum: 0maximum: 1000000default: 0
sameSetupWeightPpm
integerExtra weight on each agreeing read beyond the first from one setup (model, modelVersion and config hash) at a site.
minimum: 0maximum: 1000000default: 1000000
#nullSampling
objectSampling for nulls without segments: initialPpm at first, then sampleNumerator/n after n passes, never below floorPpm.
Properties
floorPpm
integerminimum: 0maximum: 1000000default: 100000
initialPpm
integerminimum: 0maximum: 1000000default: 1000000
poolClearSamples
integerPassing samples that clear a pool for final credit.
minimum: 1default: 60
sampleNumerator
integerminimum: 1default: 3
#priority
objectProperties
Relative need. Weights routing and placement credit.
minimum: 0
#siteSelector
objectProperties
Site key.
#thresholds
objectBars on the low bound of the leading candidate's interval.
Properties
exportPpm
integerminimum: 0maximum: 1000000default: 950000
finalizeCreditPpm
integerminimum: 0maximum: 1000000default: 900000
minFamilies
integerModel families a candidate's agreeing reads must come from before it clears the open-children or export bar. A read that declares no model is a family of its own sponsor.
minimum: 1default: 1
openChildrenPpm
integerminimum: 0maximum: 1000000default: 800000
stopRoutingPpm
integerminimum: 0maximum: 1000000default: 990000