SolveCertificate

Turns a solve into a case directory: the 6b2 files, the preregistered specs, the arms, a hash-chained results/ that continues the observation chain, and certificate.json. 6d4 packs these files into a .driftcase and re-derives the posteriors and statistics from them.

Types

Link copied to clipboard
class Confirmed(val forward: ExperimentRun, val minimal: List<String>, val tested: Int, val unresolved: Int, val order: List<List<String>>, val reverse: ExperimentRun?, val replicate: ExperimentRun?, val diff: MeasuredDiff, val removals: List<Removal> = emptyList())

Properties

Link copied to clipboard
const val CERTIFICATE: String
Link copied to clipboard
const val FORMAT: String
Link copied to clipboard

Functions

Link copied to clipboard
fun alphaPerTest(alpha: Long, rounds: Int): Long

The level of one forward test. The family is the rounds forward experiments a search may run. Holm's first threshold is alpha over the family size; the search stops at its first rejection, so every test uses that threshold and the family-wise bound is alpha.

Link copied to clipboard
fun build(name: String, green: Capsule, red: Capsule, ranking: Ranking, plan: Plan, runs: List<ExperimentRun>, extra: Map<String, String>, posteriors: List<Pair<String, Belief>>, skipped: List<Pair<String, List<String>>>, blocked: Map<String, String>, confirmation: SolveCertificate.Confirmed?, verdict: SolveVerdict, baseline: Reproduction?, options: SolveOptions, trials: Int, seconds: Long): CaseFile
Link copied to clipboard

The certificate of case as written.

Link copied to clipboard
fun check(case: CaseFile): List<String>

Problems of the results chain and certificate of case; empty when they hold.

Link copied to clipboard
fun measured(effect: MeasuredDiff, partner: ExperimentRun?): Boolean

Whether the effect and its agreeing experiment both have a measured diff.

Link copied to clipboard
Link copied to clipboard

Chains the run records from head, the head of the observation chain.