跳到正文
cccskills
免费在 GitHub 公开

rseng-reproducibility

Covers end-to-end computational reproducibility: making a project's results regenerable with one command, determinism and seed discipline, research compendium structure, replication packages for papers, Binder-launchable repositories, artifact evaluation and reproducibility badges. Use PROACTIVELY when the user wants results others can reproduce, prepares a replication package or artifact submission, mentions reproducibility, research compendia, Binder or badges, asks why results differ between runs or machines, or is about to publish results whose regeneration path is untested. (Pinning environments: rseng-reproducible-environments; pipeline automation: rseng-workflows; run-level lineage: rseng-provenance.)

中文简介正在准备中。当前显示原文说明。

fdiblen/rseng-agent-skills星标 24(GitHub 24 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md6.6 KB
  • references.md401 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Computational reproducibility

Reproducibility is the ability of someone else - including the author in six months - to regenerate the results from the code and data. It is not one practice but a stack: pinned environments (rseng-reproducible-environments), scripted pipelines (rseng-workflows), versioned data (rseng-data-management) and controlled randomness, assembled so that ONE documented command rebuilds the results. This skill owns the assembly and its verification; the layers below have their own skills. The bar to aim for: a stranger with the repository and the README reproduces the paper's numbers without emailing anyone.

The one-command bar

  • Everything scripted, nothing manual: any step a human performs by hand (a click, a copy, an "then edit line 12") is a reproduction failure waiting to happen. Encode the full path from raw data to final figures/tables in a workflow or top-level script (rseng-workflows).
  • One entry point, documented: make reproduce, snakemake all or ./run.sh - named in the README with expected runtime and resource needs. Long-running steps get cached intermediates so partial reruns are practical.
  • Outputs land in generated directories, mapped to the paper: which script makes Figure 3 must be answerable from the repo (a results/README or a figures manifest).
  • Configuration explicit: every parameter that shaped the published results lives in versioned config files, not command-line lore or notebook cell edits.

Determinism and honest nondeterminism

  • Seed discipline: explicit RNG objects seeded from configuration, never global unseeded randomness; derive per-worker streams from a master seed for parallel runs; record seeds with outputs - a seed is provenance.
  • Know the nondeterminism you cannot remove: thread scheduling, parallel reduction order, GPU kernels and library versions legitimately perturb low-order bits (rseng-numerical-accuracy). State the expected variability ("results match to 1e-6; figures identical") instead of claiming bit-identity you have not tested.
  • Sort the unordered: filesystem listings, dict/set iteration and parallel completion order differ across runs; sort before anything result-bearing.

The research compendium

Structure the repository as a compendium - the recognized shape for reproducible research projects: data (raw read-only, processed generated), code, environment specification, outputs, and a README tying them together with the one command. Conventions and examples live at research-compendium.science. For projects headed to review, the compendium IS the replication package.

Replication packages and artifact evaluation

When results support a paper:

  • Assemble the package: frozen code version (tagged release - rseng-publishing-releasing), data or scripted data retrieval with checksums (rseng-data-management), pinned environment, run instructions with runtimes, and a manifest mapping outputs to paper claims.
  • Deposit, do not just link: an archival repository with a DOI (Zenodo-class) is the durable home; a git URL alone does not meet artifact-availability bars (ACM's artifact badging explicitly requires archival deposit for its Available badge).
  • Target the venue's checklist when one exists (artifact evaluation tracks, journal data editors); rseng-software-peer-review covers review-side mechanics and CODECHECK-style independent execution.
  • Declare AI involvement in producing the results in aidecl.yaml (rseng-ai-declaration) - reproducibility and provenance are the same promise at different layers.

Binder: reproducibility others can click

repo2docker builds a runnable image from a repository's standard environment files; mybinder.org hosts it so anyone can run the analysis in a browser without installing anything. Make a repo Binder-ready by keeping environment files canonical (no requirements drift), test the build locally with repo2docker before adding the badge, and expect image builds to rot as dependencies move - pin versions and re-test at releases (rseng-reproducible-environments). For compute-heavy work, Binder demos a subset; the full run documents its HPC path (rseng-hpc-computing).

Verify before you claim

Reproducibility untested is reproducibility absent:

  • Clean-room test: fresh clone on a machine (or container) that never ran the project, follow only the README, compare outputs to the published ones with stated tolerances. This finds the undeclared dependency and the hardcoded path every time.
  • Automate the claim where affordable: a CI job that runs the pipeline on reduced data and compares key numbers keeps the reproduction path from rotting between releases (rseng-ci-cd).
  • Independent reruns (a colleague, a CODECHECK, a ReproHack-style event) are the strongest evidence - and normal practice, not an audit to fear.

Working with this skill

This skill is source-independent: its authority is the community reproducibility guidance and tooling linked below. It assembles what rseng-reproducible-environments, rseng-workflows and rseng-data-management provide layer by layer.

Learn more (verified):

<!-- related-skills:begin -->

Related skills

Check whether any of these applies before moving on:

  • rseng-ai-declaration - declaring AI involvement in results
  • rseng-archiving - depositing the package with a DOI
  • rseng-data-management - versioned data with checksums
  • rseng-numerical-accuracy - stating expected run-to-run variability
  • rseng-publishing-releasing - tagged frozen release for the package
  • rseng-software-peer-review - CODECHECK-style independent reruns
<!-- related-skills:end -->

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Covers operating AI coding agents securely: auditing whether the agent runs sandboxed, permission and dangerous-command configuration, containerized environments, secrets kept out of context, network egress and token privileges, prompt-injection risk, and the privacy of agent use itself. Use PROACTIVELY when permission gating is broadly disabled (skip-permissions modes), when secrets are visible to the agent's shell, or when the agent processes untrusted code, issues or web content; when a project holds personal or confidential data while a cloud agent is active (what leaves the machine, retention, training use), or when the user asks how to run coding agents safely or privately. (Supply-chain security: rseng-security; disclosing agent contributions: rseng-ai-declaration.)

中文简介正在准备中。当前显示原文说明。

fdiblen/rseng-agent-skills242026年9月23日 更新

Covers declaring AI involvement with the AI Declaration Format (https://ai-declaration.org): creating and maintaining an aidecl.yaml that records which AI tools and agents were used, what each contributed, when and how much, plus the README disclosure footnote, JSON/JSON-LD export and CI validation. Machine-readable disclosure is the practice; this format is one implementation. Use PROACTIVELY when an AI assistant or agent creates or modifies a project's content - generate aidecl.yaml if missing, update it after AI-assisted changes. Also use when the user asks about AI transparency, provenance, disclosure or EU AI Act disclosure, wants to state that NO AI was used, or mentions aidecl. For concealment requests see rseng-honesty; for the human review duty see rseng-human-verification.

中文简介正在准备中。当前显示原文说明。

fdiblen/rseng-agent-skills242026年9月23日 更新

Covers long-term archiving of research software and data: Software Heritage save requests and SWHID persistent identifiers, Zenodo deposits with versioned DOIs and forge integration, choosing domain and institutional repositories, deciding what to archive (code, data, environments, documentation) and when, and archiving at project retirement. Use when the user wants software or data preserved beyond the life of a forge account, grant or lab, mentions Software Heritage, SWHIDs, Zenodo deposits or archiving, retires or hands over a project, prepares artifacts that must stay resolvable for a paper, or when funder policy requires long-term preservation. (Cutting the release itself is rseng-publishing-releasing; day-to-day data storage and repository choice is rseng-data-management.)

中文简介正在准备中。当前显示原文说明。

fdiblen/rseng-agent-skills242026年9月23日 更新

Covers processing research data that outgrows one machine's memory: out-of-core and chunked computation, Dask for scaling the scientific Python stack, Spark for distributed tabular pipelines, lazy evaluation, partitioning strategies, idempotent and restartable batch jobs, and knowing when NOT to distribute. Use when datasets no longer fit in memory, when the user mentions Dask, Spark, out-of-core or larger-than-memory data, when a pandas/NumPy workflow hits memory limits, or when designing batch pipelines over many files. (Cluster job submission and job arrays are rseng-hpc-computing; pipeline orchestration engines are rseng-workflows; profile first with rseng-performance-profiling.)

中文简介正在准备中。当前显示原文说明。

fdiblen/rseng-agent-skills242026年9月23日 更新

Covers continuous integration and delivery for research software: CI/CD concepts, automating builds and tests with GitHub Actions and GitLab CI/CD, and wiring an organization's GitLab CI infrastructure to a GitHub-hosted project. Use when the user asks to set up CI, write a pipeline or workflow file (.github/workflows, .gitlab-ci.yml), add automated builds/tests on push or pull request, publish a package or deploy docs when a tag or release is cut, cache dependencies to speed up CI runs, choose between GitHub Actions and GitLab CI, use self-hosted or GPU runners, mirror a repo, or report external CI status back to GitHub. For what to test and shrinking a test matrix see rseng-testing; for linter and pre-commit policy see rseng-code-quality.

中文简介正在准备中。当前显示原文说明。

fdiblen/rseng-agent-skills242026年9月23日 更新

Covers verifying that every citation is real, correct and current: checking references in manuscripts, READMEs, references files and code metadata against Crossref and OpenAlex, screening cited DOIs against the Retraction Watch database, catching fabricated or mis-attributed citations (a documented AI failure mode), and keeping bibliographies and CITATION.cff files resolvable. Use PROACTIVELY before any bibliography, reference list or citation metadata is finalized or published, whenever the agent itself has produced citations, and when the user asks to check references, mentions broken DOIs, retracted papers or citation verification, or prepares a manuscript, README or software paper with references. (Making your own software citable is rseng-citation-metadata.)

中文简介正在准备中。当前显示原文说明。

fdiblen/rseng-agent-skills242026年9月23日 更新

查看 fdiblen 的全部技能

报告此技能的问题