Repository navigation
docs: pipeline overview, stale docs deleted, shorter comments; fc-measure: measure time limit - #67
Merged
Merged
Conversation
Facts that are still true move to docs/guide/synthesis.md (why repositories fail synthesis) and CLAUDE.md (when to turn on DATASMITH_PV_ENABLED). References to the deleted files are removed.
README and the docs index named terminal-bench and fc-eval. CLAUDE.md called harbor_adapter a vendored copy of Harbor's adapter; Harbor's adapter imports datasmith. The LSV guide described an editable install that no longer exists.
Comments only. These files are in tests/, so the render stamp digest changes but the environment digest (the image tag) does not.
Removes history, dates, incident notes and jargon from comments and docstrings. The Hugging Face token path now defaults to ~/.cache/huggingface/token (HF_TOKEN_PATH overrides it); scripts read DATASMITH_TB_ROOT and no longer set TMPDIR to a host path.
…te slots; precheck reads the pinned image; base_edited note says what the check finds
… in harbor_healthcheck.py (ruff clean)
…asks without a prompt file; reject inline relevant_issues; fill an empty problem text; IPython display hooks count as public names
ArjunS07
added a commit
that referenced
this pull request
Oct 19, 2026
… text is empty (same as #67)
… prompts.py and test_prompts.py)
atharvas
reviewed
Oct 19, 2026
… deletion; keep docker_root and snapshots_dir with the shorter comments)
…it and ends the task as too_slow
… names in the giveaway check
…the lock folder; delete the stale module design notes and the dataset/verify.py loop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
The repo had dated plans, handoffs, module design notes and a copy of the rl-prep notes that no longer describe the code. Some docs said that tasks are built with terminal-bench and run in fc-eval, and many comments told history instead of what the code does. This PR deletes the stale files, corrects the wrong docs, shortens comments, and adds one page that describes the whole pipeline across repos. It also adds a time limit to
fc-measure measure, because some pandas and scikit-learn tasks took 8 to 17 hours.How it works
flowchart LR A["fc-data"] --> B["fc-render-tasks export --from-db"] --> C["fc-render-tasks render"] --> D["fc-build-tasks"] --> E["fc-render-tasks render --images"] E --> F["fc-measure precheck"] --> G["fc-measure measure"] --> H["classify, review, release<br/>(formulacode-verified-rl)"] --> I["agent trials and RL"]docs/OVERVIEW.mdexplains each step above, what "approved" means, where the approved list is, how to build one task again, and which branch or commit each repo uses. It says to render from the tagtemplate-v1.4.Changes
docs/superpowers/(30 dated specs, plans, handoffs and reports),docs/stage6-failure-analysis.md,docs/design/archived/,HANDOFF.mdandrl-prep/rl-prep/.docs/design/components/(9 module notes). They describe modules that no longer exist, such asdatasmith.executionanddatasmith/core/api/. mkdocs already left them out of the site.dataset/verify.pyloop inREADME.md,CLAUDE.mdanddocs/guide/verification.md, becausedataset/is no longer in git.docs/guide/synthesis.md. The conditions to turn onDATASMITH_PV_ENABLEDare inCLAUDE.md.CLAUDE.md, a design doc and two tests pointed at the spec files as the source of intent.CLAUDE.mdtold agents to read the module notes before a change.docs/index.md,DATASET_CARD.md,CLAUDE.mdanddocs/guide/lsv-development.md.datasmith.harbor_adapter(fc-render-tasks) renders the tasks and that they run on Harbor.LSV_REF.harbor_adaptera vendored copy of Harbor's adapter, and described an editable LSV install that no longer exists.docs/OVERVIEW.mdandCLAUDE.md.fc-render-tasks export --from-db,fc-build-tasks,fc-render-tasks render --images,fc-measure precheckandfc-measure measure. The measure step describes the host lock folder (FC_MEASURE_LOCK_DIR,FC_MEASURE_LOCK_SLOTS).CLAUDE.mdlistsmeasurement/in place ofverify/, and stage 5 namesRenderShortProblemsRunner.fc-verifycommands and the HTTP measure gate, which measurement: timing, noise rule and precheck in a new package; task image builds as a runner; short prompts by default #66 deletes.src/. About 310 comment and docstring blocks inagents/,docker/,github/,resolution/,runners/,update/,utils/,publish/andharbor_adapter/.preflight.py,publish/huggingface.py,scripts/prepass_trial.py,scripts/load_benchmark_information.py.~/.cache/huggingface/token, andHF_TOKEN_PATHoverrides it.DATASMITH_TB_ROOT. The prepass script does not setTMPDIR./mnt/sdd*.fc-measure measure --time-limit SECONDS.too_slowand gets no record inOUT/oracle/.0keeps that behavior.RenderShortProblemsRunner(_leaks) accepts a problem text that names_repr_html_or another_repr_*_or_ipython_*_hook.resolution/orchestrator.py,noqa: S310on the two URL opens inrunners/harbor_healthcheck.py, andruff formatonpublish/huggingface.pyandrunners/harbor_healthcheck.py.ruff checkandruff format --checkpass on the changed files..github/pull_request_template.md, the same file as in Add PR template and PR style rules #33.Usage
Verification
Run on the head
abe8074:PYTHONPATH=src python -m pytest -q -m "not slow" tests: 1821 passed, 10 skipped, 39 deselected. measurement: timing, noise rule and precheck in a new package; task image builds as a runner; short prompts by default #66 alone gives 1819 passed. The 2 new tests are the time limit and the display hook.ruff checkandruff format --checkon the changed Python files: all pass.git merge-tree --write-tree origin/verify/core origin/docs/overview-and-comments: no conflicts.Notes
verify/core(measurement: timing, noise rule and precheck in a new package; task image builds as a runner; short prompts by default #66), and it mergesverify/coreat13b98a0.src/datasmith/verify/. This PR accepts that deletion. What happened to its earlierverify/changes:measurement/run.pyandmeasurement/cli.py(change 6). It has no lease release now, because there is no gate service.render_problems._leaks(change 7).task.tomlis gone, becausefc-measure precheckloads the image build check from the database and does not run the image.base_editednote text is gone withreview.py. Thedecide()docstring inmeasurement/precheck.pyalready says what the check finds.approvedis a review date, refuse inlinerelevant_issues, and fill an empty problem text. They belong toapply_gold_prompt.pyin formula-code/formulacode-verified-rl.docs/PR_STYLE.md, which only Add PR template and PR style rules #33 adds. Merge Add PR template and PR style rules #33 too, or the link has no target. The two template files are identical, so the PRs do not conflict.tests/parser.pyandtests/lsv_measure.pyare in task template v1: the Phase 1 template and its fixes in one branch, for one merge into main #65.agents/templates/local_ci.pythat lost a link to a deleted spec. A comment change indocker/templates/oragents/templates/invalidates the Docker build cache. For this reason, the docstring ofdocker/templates/apply_oracle_patch.pystill names the deleteddatasmith.verify.in_image.coverage_check.docs/overview-and-comments, because a remote branch namedcleanupblocks the namecleanup/docs-and-comments.