capture-scientific-run
Capture a replayable scientific run with units, provenance, numerical equivalence, and uncertainty contracts.
- License 许可
- MIT
- 所属仓库
- dasobral/skills
- 最近更新
- 2026-08-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- capture-scientific-run
- license
- MIT
- metadata
- { "plugin": "scientific-claim-ledger", "version": "0.1.0" }
- description
- Capture a replayable scientific run with units, provenance, numerical equivalence, and uncertainty contracts.
02 资源文件 7
- 参考文档index.json722 B
- 参考文档references/numerical-equivalence-result.schema.json829 B
- 参考文档references/run-record.schema.json7.7 KB
- 参考文档references/uncertainty-statement.schema.json908 B
- 参考文档references/unit-registry.schema.json766 B
- 脚本scripts/capture_run_record.py12.1 KB
- 脚本scripts/validate_run_record.py5.3 KB
03 SKILL.md 正文
Capture Scientific Run
Create an immutable run record before interpreting results.
Workflow
- State the context of use and quantity of interest.
- Register every quantity's unit, coordinate frame, and dimensional meaning in
references/unit-registry.schema.json. - Record tolerances, uncertainty meaning, and the acceptance threshold.
- Capture source revision, input SHA-256 hashes, environment, compiler/runtime
settings, hardware, parallel layout, random seeds, and an exact replay command.
Use
python3 scripts/capture_run_record.py --helpfor deterministic local capture. Record unavailable metadata asevidence-gap; never invent it. The capture command applies the no-secret policy recursively: credential fields and values are removed without secret-derived hashes or identifiers; only constant markers and affected field names remain. Absolute paths become safe relative aliases, and replay/compiler arguments are sanitized. - Classify reproducibility as
bitwise,numerically-equivalent, orscientifically-equivalent. For numerical equivalence, emitreferences/numerical-equivalence-result.schema.json. - Describe uncertainty with
references/uncertainty-statement.schema.json; never treat an unspecified error bar as uncertainty quantification. - Associate each claimable result with the run by passing its contained path
with
--artifact; the capture command records that relative path and SHA-256 underartifacts. - Write the run using
references/run-record.schema.json, then run:python3 scripts/validate_run_record.py <run-record.json>.run_idis the canonical SHA-256 of the complete record excludingrun_id; validation recomputes it and rejects modified records.
Rules
- Hash inputs and result artifacts; do not embed secrets.
- Preserve failed and non-finite runs as evidence, but never mark them accepted.
- Do not infer missing units, frames, seeds, provenance, or uncertainty meaning.
- A tool or agent may validate contract completeness; it cannot make the final scientific pass decision.
- Evidence state is exactly one of
pass,fail,unknown,not-applicable, orevidence-gap; keep it separate from workflow and reviewer decisions.
04 同仓库更多 Skills
fixture-skill
Fixture skill used to prove trust inventory coverage.
write-conformant-code
Write code in any language that matches project conventions exactly. Reads CODING_REQUIREMENTS.md, prior review output, or built-in defaults before writing. Part of Codecraft pipeline: analyze → write → review → audit. Use when implementing features, functions, or any code that should fit seamlessly into an existing codebase.
test-crypto-interoperability
Record reproducible cryptographic interoperability cases, including negotiation, fallback, sizes, latency, fragmentation, and negative tests.
scientific-platform-architect
Design scientific computing platforms combining HPC kernels with modern infrastructure. Enforces compute-layer separation (Rust/PyTorch/Python), emulator-first thinking, and right-sized infrastructure. Use for MCMC pipelines, neural emulators, platform design, or scientific code review.
rust-systems
Rust systems engineering for daemons, HTTP APIs, and AOS components. Enforces Tokio/Axum async-first, LiteLLM-compatible OpenAI APIs, workspace layouts, tracing, and systemd-compatible daemon design. Part of AOS Stack plugin. Use for .rs files, Cargo.toml, daemons, or Rust orchestrator services.
run-agent-attack-replay
Aggregate isolated agent attack trials with deterministic side-effect assertions, Wilson intervals, and preserved trace evidence.