Move runs/ to its own repository, neurodata/prolearn-runs
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
- 25/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- git, github-actions, python
- Lĩnh vực
- backend, devops, infrastructure
Hướng nghiên cứu
Start with the listed touch points: experiments/run.py, experiments/run_skipjack.py, experiments/push_runs.py, the workflow files, and the runs_data tests. Read the design and its nine open questions, plus #244, #257, and #266, before planning the repository split. Done means runs and related workflows use neurodata/prolearn-runs as specified, with the cutover and follow-up deletion completed; this spans repositories, deploy keys, CI, docs, and pushers.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The pushers commit runs/ to main with no pull request. Since 2026-12-03, 450 of the 618 commits on main are pusher commits. Ruleset 28643441 lets every deploy key bypass all rules on main, and runs-guard.yml catches misuse only after the push lands. Pull requests also show red checks for data bugs their authors did not cause, because the docs job in ci.yml draws the real runs.
Design
Three stores, with dependencies that run one way only. Each store reads the one before it, pinned by SHA. No required check reads a later store.
prolearn (code + docs source) -> prolearn-runs (results + model state) -> site
reviewed PRs, required CI pushers, no PRs, never blocked manual build, always deploys
- Runs never block code. Required checks on
prolearnread only fixtures committed intests/. No required job checks outprolearn-runs. - Code never blocks runs. Pushers commit to
prolearn-runswith no pull request. Its CI validates each push against the code'sresult.schema.jsonand reports failures to an issue. It never rejects a push. - Runs never block the site. The site builds from a code SHA and a runs SHA, and records both. A figure that fails to draw becomes a placeholder, the site still deploys, and the failure opens an issue.
- Code never blocks the site. The site builds from
mainon request, as decided in #257. - The schema is the only contract. Code owns
result.schema.json, and each run records the schema version it was written with. A breaking schema change ships with a reader for old versions, or with a migration inprolearn-runs. - One gate stays. A run needs reviewed code, as AGENTS.md says.
The trade-off: a data bug shows as an issue on prolearn-runs or a failed figure, not as a red check on a pull request. Fixtures can drift from real runs, and rule 2's checks catch that drift only after the fact.
Prior art: scikit-learn's sklearn-benchmark-bot commits results to scikit-learn/scikit-learn-benchmarks, and its docs build pushes to scikit-learn/scikit-learn.github.io. Neither writes to the code repository. astropy-benchmarks keeps results off its main branch, and results commits trigger the site build. PyTorch sends benchmark results to S3 through pytorch/test-infra's upload-benchmark-results action.
Decided by the maintainer:
- One new repository,
neurodata/prolearn-runs, in theneurodataorg. No new org. - Code and docs source stay together in
neurodata/prolearn, so a pseudocode page and its code are reviewed in one pull request. - Model state goes in
prolearn-runswith Git LFS. #244 holds what to push and in what format.
Touch points
Go away: .github/workflows/runs-guard.yml, the DeployKey bypass in the main ruleset, paths-ignore: ["runs/**"] in ci.yml, and the outside-runs/ refusal in check_ahead in experiments/push_runs.py.
Change:
experiments/run.py:URL,results_clone(), and line 386, which runsmerge-base --is-ancestorin the results clone. The results clone shares no history with the code after the split.experiments/run_skipjack.py:PUSH_URLand the clone lines.- The pushers. The Mac launchd agent runs the results clone's own copy of
push_runs.py, which a runs-only repository will not hold. - The two write deploy keys move to
prolearn-runs. docs.ymlchecks outprolearn-runs. Theci.ymldocsjob draws from fixtures.draw_settings.pyneeds a default runs location.runs-data.ymland theruns_datatests intests/test_board.pyandtests/test_result_files.py.- AGENTS.md and the runboard plist.
Questions
-
Layout. Keep a top-level
runs/folder inprolearn-runs, soroot / "runs" / ...paths stay as they are, or put settings at the top level.
Proposed default: keepruns/. -
History. Carry the history of
runs/intoprolearn-runswithgit filter-repo, or start fresh. Either way,prolearnkeeps its old history and is not rewritten.
Proposed default: carry the history. -
Plan.
experiments/plan.tomlstays inprolearn, where planning an arm is a light pull request, or moves next to the runs it checks.
Proposed default: stays.prolearn-runsCI checks outprolearnto compare the plan with the runs. -
Reviews and status.
runs/_reviews/<sha>.mdandruns/<setting>/status.tomlmove with the runs, or the reviews move to the code repository.
Proposed default: both move with the runs. -
Runs data checks.
runs-data.ymland theruns_datatests move toprolearn-runsCI, or stay inprolearnon a schedule. Its failure issue, now #266, then lives in whichever repository runs them.
Proposed default: move them toprolearn-runs, run on each push. -
Docs pin. Each site build records the
prolearn-runsSHA it drew from.
Proposed default: yes, in the page footer and the build log. -
LFS bandwidth. Checkouts for CI and docs skip LFS, so model state does not download on every run.
Proposed default:lfs: false, fetching LFS only in jobs that draw from model state. -
Fixtures. The figure tests and the PR
docsjob draw from fixtures intests/, made from a few real runs, so no required or PR check readsprolearn-runs.
Proposed default: yes, landing first as its own pull request, before the split. -
Cutover. Pause both pushers, take a final push, create the repository, then merge one pull request that flips the URLs and keys. A second pull request deletes
runs/fromprolearn. Then the pushers restart.
Proposed default: as above.
Refs #244, #257, #266.
🤖 Generated with Claude Code
- Ngôn ngữ chính
- Python
- Star
- 0
- Fork
- 0
- Merge trung bình
- 2 giờ 9 phút
- Pull request đã merge (30 ngày)
- 164
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của neurodata/prolearn
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 47/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Write which page each figure sits on, and what each figure drawsCó thể đã có người làm @jovo đã nhận hôm nay. Đang mở
neurodata/prolearn#272 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của neurodata/prolearn
Issue tương tự
-
A JSON chat answer blocks the backend event loop for the whole RAG runCó thể đã có người làm @NopeCharon đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
The-OpenROAD-Project/ORAssistant#656 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorCó thể đã có người làm @jejjohnson đã nhận hôm nay. Đang mởtype:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
jejjohnson/integrix#144 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
finos/ai-governance-framework#459 ·
-
slurm: a case outcome nested too deep crashes status/collect instead of reading as no outcomeĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày