szl-science-workbench
Runs a resumable local project with selected dataset, binary/categorical model, numerical math, kernel, calibration-benchmark and paired checks; retains an anatomy graph, byte hashes and immutable capsules. Use to run these supported checks together, resume a project or determine which dependent conclusions changed. Other science-pack tools run separately through their own CLIs. Not an experiment runner, model trainer or dispatcher for every science skill.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- szl-science-workbench
- license
- Apache-2.0
- description
- Runs a resumable local project with selected dataset, binary/categorical model, numerical math, kernel, calibration-benchmark and paired checks; retains an anatomy graph, byte hashes and immutable capsules. Use to run these supported checks together, resume a project or determine which dependent conclusions changed. Other science-pack tools run separately through their own CLIs. Not an experiment runner, model trainer or dispatcher for every science skill.
02 资源文件 14
- 资产文件assets/demo.json4.0 KB
- 参考文档references/implementations.json2.0 KB
- 参考文档references/project.md3.0 KB
- 脚本scripts/library/anatomy.py11.7 KB
- 脚本scripts/library/calibration_reference.py3.3 KB
- 脚本scripts/library/capsule.py15.4 KB
- 脚本scripts/library/dataset.py17.5 KB
- 脚本scripts/library/kernel_compare.py4.8 KB
- 脚本scripts/library/math_claim.py13.5 KB
- 脚本scripts/library/model.py15.1 KB
- 脚本scripts/library/outcome_preservation.py7.6 KB
- 脚本scripts/library/paired.py24.8 KB
- 脚本scripts/library/release_continuity.py4.0 KB
- 脚本scripts/workbench.py26.2 KB
03 SKILL.md 正文
SZL Science Workbench
One project directory, selected checks, every selected byte hashed, every run kept. The workbench
bundles its own helper implementations for dataset, binary/categorical model, math, kernel,
calibration, paired, outcome preservation and release continuity plus anatomy and capsules. Other science-pack audits use their own
CLIs; the reviewer pack can read these retained runs. The workbench works alone without the
sibling skills, a service, or an install.
Read references/project.md for the project schema and evidence boundaries.
Use when
- A lab wants leakage, calibration, math, kernel and paired checks on one dataset-plus-model project.
- A result must be re-checked after new data, a code change or a corrected label.
- A reviewer pack is needed later (szl-reviewer-pack reads this project's runs).
Quick start
python scripts/workbench.py init ./research-project
python scripts/workbench.py run ./research-project
python scripts/workbench.py check ./research-project
The synthetic demo deliberately fails: run exits 1 with COMPLETED_WITH_FINDINGS
(dataset leakage, a math counterexample, a rejected paired comparison; model and kernel checks clean)
and writes runs/<timestamp>-<digest>/ containing one report per check, actual file and implementation
hashes, a graph snapshot and a reproducibility capsule. check re-reads the last run's inputs and code;
changed, missing or unsafe paths invalidate dependent runs and conclusions and exit 1. Exit 2 is an
execution or input error with a retained ERROR record. The newest run is chosen by its retained UTC
timestamp, never by a user-supplied pointer.
The pinned public study
python scripts/workbench.py fetch-triage ./triage-project
python scripts/workbench.py run ./triage-project
python scripts/workbench.py check ./triage-project
This opt-in command contacts huggingface.co for four small frozen files of a public synthetic triage study (train and held rows, baseline and seed-011 predictions) at one exact revision; no model weights are downloaded. The categorical evaluator joins row ids to retained targets and recomputes correctness, ignoring saved correctness flags. Download receipts cover retrieved bytes, not model authenticity or data rights. Network errors stop the fetch and leave a visible incomplete project.
How runs behave
run reads only the selected project files. In the demo the kernel stage executes the pinned
calibration reference and the adapted helper on identical inputs, checks agreement, then times both
on the local CPU: a measurement of these implementations on this input, not a GPU, energy or general
speed claim. The paired stage keeps preregistration and independence declarations separate from
numerical qualification; an unregistered demonstration cannot qualify as research. Change explicit
inputs and run again to collect new evidence; prior snapshots stay on disk. To add a claim or paper,
extend the project graph with dependency ids; a rerun clears only the check nodes it executed, never an
unrelated claim's recheck flag. No helper promotes, deploys, merges or marks truth verified.
What it does not do
Outside services: none during init, run or check; only fetch-triage contacts huggingface.co and its public CDN. Credentials: none. Runtime: Python 3.10+, standard library only. No packages, weights or arbitrary commands are installed or executed. A retained capsule and graph cannot authenticate themselves against wholesale replacement; keep a copy elsewhere when that matters.
04 同仓库更多 Skills
szl-unit-invariants
Checks declared SI dimensions, allowlisted unit conversions, expected ranges and fixed pointwise invariants (equal, sum, difference, product, ratio) over selected measurement or simulation columns, flagging incompatible quantities, scale errors of 1000x and broken conservation checks. Use when merging instrument exports with different units, validating simulation output against conservation laws, or when a reviewer asks how unit errors were ruled out. Not an uncertainty-propagation or symbolic tool.
szl-uncertainty-lineage
Propagate declared measurement uncertainty through a small arithmetic dependency graph using a first-order delta approximation. Use when a researcher needs to see how corrected inputs or shared-source correlation change a reported standard uncertainty; require unit checks separately.
szl-typesafe-ai
TypeSafe/Jev: Choice/Noul/Score in code, not TypeScript types. System One models turn natural language and application state into probabilities that software can compose. Use when building routing, ranking, extraction, verification, or replacing an LLM prompt-and-parse step with structured decisions; also when brainstorming what TypeSafe could make possible. Do not use for TypeScript/Java/Rust static types, Zod/Pydantic/mypy/JSON Schema/protobuf codegen, or asking whether a pipeline is type-safe. At SZL, Jev is an optional second reader only.
demo
暂无简介
demo
暂无简介
szl-skill-update-review
Compare pinned local skill packages using inventories and a retained lock; report changed skills, files, declarations and reruns without approving safety or validity.