{
 "edition": "v0.3.1",
 "protocol_file": "https://github.com/abe238/secrets-index/blob/main/PROTOCOL.md",
 "summary": [
  [
   "What is measured",
   "How fast a command-line agent can read secrets with tools that keep the key on the same machine: one secret, five secrets, a 4 KB secret, a missing name, a store it cannot decrypt, and starting a child process with secrets in its environment. Cloud services are not measured."
  ],
  [
   "One table per operation",
   "Every operation has its own table on each machine. There is no blended score and no comparison across machines."
  ],
  [
   "Default mode first",
   "Every tool runs in its documented default mode for the platform. Any other mode is an extra row labeled with its exact setting. Each row records key at rest, resident process, version, the sha256 of the binary and the exact command."
  ],
  [
   "Timing",
   "A fresh process per sample, wall time from spawn to exit with output captured, a 10 s deadline. A session is 20 warmup rounds and 300 timed rounds in a seeded random order; at least 5 independently started sessions per machine. Slow rows (median over 250 ms) run in their own pass of 60 rounds."
  ],
  [
   "Every attempt counts",
   "Every attempt is recorded with its outcome. A row is ranked only if at least 99% of its attempts met the contract and it has at least 5 kept sessions; failures are printed."
  ],
  [
   "Load rule",
   "A session is discarded if the 1-minute load exceeds half the cores in more than 5% of rounds. par20 sessions are judged on load from outside the benchmark, read in quiet pauses."
  ],
  [
   "Statistics",
   "Medians are the median of session medians. Two rows on one machine are compared with paired per-round differences and a block bootstrap; a win needs the 95% interval to exclude zero and the difference to exceed both 0.5 ms and 5% of the faster row. Otherwise it is a tie."
  ],
  [
   "Linux",
   "On the shared Linux server, 9 of 11 main sessions broke the load rule because of CPU steal from other tenants. The protocol requires both views: as published (rule waived) and strict (rule applied, so main-session rows cannot be ranked)."
  ],
  [
   "Author's entrant",
   "The benchmark's author also wrote fastsecrets and the bash tool in the secrets-bash rows. Both are tagged author everywhere and measured by the same harness and rules as every other row."
  ],
  [
   "Check it yourself",
   "Every timed attempt is in the repository. python3 verify.py recomputes every table and verdict with Python 3 and checks them byte for byte."
  ]
 ],
 "links": {
  "protocol": "https://github.com/abe238/secrets-index/blob/main/PROTOCOL.md",
  "fairness": "https://github.com/abe238/secrets-index/blob/main/analysis/FAIRNESS.md",
  "claims": "https://github.com/abe238/secrets-index/blob/main/analysis/CLAIMS.md",
  "gaps": "https://github.com/abe238/secrets-index/blob/main/GAPS.md",
  "rerun": "https://github.com/abe238/secrets-index/blob/main/RERUN.md",
  "verify": "https://github.com/abe238/secrets-index/blob/main/verify.py"
 }
}
