Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

`darnit-reproducibility`: heuristic checks for execution and build reproducibility signals

Đang mở
#416 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
docker, python, r, rust
Lĩnh vực
build-system, devtools, tooling

Hướng nghiên cứu

Start by reading the sieve pass shape and the existing RE-02.01 HermeticBuild check referenced in #227, then review #414 for extracted signals and #415 for layer/tightness applicability. Define the new controls in the darnit-reproducibility TOML and ensure each follows the required pass shape; done means execution- and build-layer signals are covered, missing signals warn rather than pass, and signals serialize into the ontology vocabulary in #393.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

module-reproducibility

Summary

New sieve controls under darnit-reproducibility that gate on the signals
the extraction module (#414) surfaces, at the (layer, tightness) target
declared per the taxonomy (#415).

Scope: signals to check

Execution layer (Layer 2: built tool + inputs -> outputs)
  • Environment lockfile presence and pinning strength: uv.lock,
    poetry.lock, Pipfile.lock, conda-lock.yml, environment.yml,
    renv.lock, Manifest.toml, frozen-form requirements.txt.
  • Random seed calls: numpy.random.seed, torch.manual_seed,
    random.seed, tensorflow.random.set_seed, R set.seed.
  • Determinism flags: torch.use_deterministic_algorithms(True),
    CUBLAS_WORKSPACE_CONFIG, PYTHONHASHSEED, TF op-level determinism.
  • Non-determinism smells: datetime.now() on critical paths, unpinned
    network fetches (wget / curl without checksum).
  • Workflow specs (declarative beats scripts for auditability): Nextflow,
    Snakemake, CWL, Makefile, papermill-executed notebooks.
  • Data lineage markers: DVC (*.dvc), MLflow tracking, W&B,
    hash-pinned Zenodo DOIs vs raw GitHub URLs.
  • Container env: Dockerfile FROM <image>@sha256:... (pinned digest) vs
    :latest.
  • Compute-env capture: repo2docker-compatible layout.
Build layer (Layer 1: source -> built tool)
  • SOURCE_DATE_EPOCH in build scripts.
  • Locked toolchain: rust-toolchain.toml, .tool-versions (asdf),
    pinned Python interpreter in lockfile.
  • Reproducible-flags: -Wl,--build-id=none, -ffile-prefix-map,
    timestamp stripping.
  • Container-build digest pinning (build stage).
  • Cross-check against existing RE-02.01 HermeticBuild (see #227).

Each check emits a signal the extraction module (#414) exposes, at a
specific (layer, tightness) applicability declared per #415.

Non-goals for v0

  • Remediation actions (auto-generate Dockerfile, insert seed calls,
    produce lockfile) -- separate follow-up.
  • LLM-based verification of non-heuristic-detectable practices -- later,
    if signals below prove insufficient.
  • Language-specific idiomatic seeding beyond Python / R (Julia, Rust, Go
    idioms in v1+).

Constitution alignment

  • III. TOML-First: all controls defined in darnit-reproducibility's
    TOML.
  • II. Conservative-by-Default: missing signal at declared tier ->
    WARN, never silent PASS.
  • V. Sieve Pipeline Integrity: each check follows the sieve pass
    shape (file_must_exist -> exec/regex -> llm_eval -> manual).

Related

  • #414 (extractor module).
  • #415 (layer + tightness taxonomy -- each control declares
    applicability).
  • #227 (RE-02.01 HermeticBuild) -- Layer 1 heuristic already lives
    here; this issue widens the check family.
  • #393 (ontology) -- signals should serialize into the ontology vocab.
Ngôn ngữ chính
Python
Star
22
Fork
27
Merge trung bình
2 ngày 2 giờ
Pull request đã merge (30 ngày)
50

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của darnitdevorg/darnit

Tất cả issue của darnitdevorg/darnit

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.