|
Download README_REPRO.md from czty/BioOcto: direct link, hf CLI and curl.
- Browser
- Download file 8.39 kB
-
https://huggingface.co/datasets/czty/BioOcto/resolve/main/README_REPRO.md
- Command line
-
hf download hf://datasets/czty/BioOcto/README_REPRO.md
-
curl -L -o README_REPRO.md https://huggingface.co/datasets/czty/BioOcto/resolve/main/README_REPRO.md
8.39 kB
| # BioManus / "Beyond Prompt-Based Planning" — 实验复现快照 | |
| > **本仓库包含匿名投稿(ACL ARR #1289)相关的论文、评审材料与实验代码,rebuttal 期间请务必保持仓库为 Private。** | |
| 本仓库是服务器 `10.27.130.23:32419` 上 `/225040511/project/Beyond_Prompt-Based_Planning` | |
| 在 **2026-11-27** 的完整工作区快照(代码 + 脚本 + 配置 + 实验记录 + 论文), | |
| 目的是在另一台服务器上复现实验并查看此前的进展。 | |
| - 快照分支:`repro-20261127`(GitHub: `healme-225040511/Hypo_Bio_OS`,独立根提交,不影响 `main`) | |
| - 原始工作区总量 4.3 TB,其中 4.53 TB / 5,099 个大文件(SAM/BAM/VCF/FASTA/数据库/模型等原始中间产物)**未上传**, | |
| 清单见 `EXCLUDED_LARGE_DATA.txt`(含体积与路径),需要时按下文「同步原始大数据」直接在服务器之间 rsync。 | |
| ## 1. 在新服务器上获取 | |
| 服务器若无法直连 `github.com:22`(本快照来源服务器即是如此),请走 443 端口: | |
| ```bash | |
| # ~/.ssh/config 中加入: | |
| # Host github.com | |
| # HostName ssh.github.com | |
| # Port 443 | |
| # User git | |
| # IdentityFile ~/.ssh/id_ed25519 | |
| # IdentitiesOnly yes | |
| git clone --branch repro-20261127 --single-branch git@github.com:healme-225040511/Hypo_Bio_OS.git bpp_repro | |
| cd bpp_repro | |
| ``` | |
| ## 2. 目录结构(与原服务器一致,便于脚本内相对路径继续可用) | |
| | 目录 | 内容 | 来源仓库状态(见各目录下 `GIT_INFO.txt`) | | |
| |---|---|---| | |
| | `Biomanus/` | **主系统**:Biomni A1 之上的图引导扩展(MCP 生成、MCP ToolGraph、GraphRAG 路由、动态 MCP 注册),`run_bioagent_bench.py` / `evaluate_bioagent_bench.py`,`graph_outputs*/` 最新图快照 | `Hypo_Bio_OS` HEAD `528cff9`,含 280 项未提交改动 → `UNCOMMITTED_CHANGES.patch` / `UNCOMMITTED_STATUS.txt` | | |
| | `Biomanus/experiments/` | 消融、图噪声鲁棒性、LAB-Bench、token 用量、各类 bioagent-bench 运行的记录与汇总;`plot/` 为论文图表脚本与产出 | — | | |
| | `experiments/` | **多种子主实验**(40 workers):`multiseed_40workers/`(BioManus vs Biomni vs Biomni+MCP 规模 100–2000,`summary.json` 即主表数据)、`deepseek_v4_bioagentbench_parallel/` | — | | |
| | `Biomanus-V2/Experiment1/` | Rebuttal 新增的 T0–T5 MCP 编译器 held-out 实验(4 种条件),含 `reports/`、`configs/`、`tests/` | 无 git | | |
| | `Biomni/` | Biomni 基线(fork):`experiments/bioagent_bench/configs/mcp_scale_*.yaml`、`scripts/run_bioagent_bench_with_biomni.py` 与各规模的 run 记录 | `Biomni_Experiments` HEAD `400c1f3` | | |
| | `Biomni-ReAct/`, `react_code_bioagent_deepseek/`, `react_code_bioagent/`, `base_llm_labbench/`, `React+code_labbench/` | 其他基线(ReAct / ReAct+Code / 纯 LLM)的代码与结果记录 | — | | |
| | `BioScientist/` | BioScientist 基线(agent_system、bioinfo_mcp_platform、mcp-servers) | `BioScientist` HEAD `f7c7d27` | | |
| | `bioagent-bench/` | 任务定义与评测源码(`src/task_metadata.json`),**dataset 未上传** | upstream `bioagent-bench` `2bb523d` | | |
| | `LAB-Bench/` | LAB-Bench 数据与代码(Future-House) | upstream `996a8e0` | | |
| | `Biomanus_upload*/`, `Biomni--Im/` | 历史上的 code-only 上传包(含安装说明 README) | — | | |
| | 根目录散落文件 | `acl_latex.tex`、`[ARR Review] BioManus - Review Discussion.md`、`figures/`、`asset/`,以及 LAB-Bench bootstrap / 工具目录审计等结果表(`updated_table_labbench_bootstrap*`、`*_audit.csv`) | — | | |
| | `paper/` | 投稿 PDF(`BioManus_1289_submission.pdf`) | — | | |
| | `env_spec/` | `biomni_e1` / `bioscientist` / `labbench` 三个 conda 环境的导出文件与 `pip freeze` | — | | |
| ## 3. 论文条目 ↔ 实验位置 | |
| | 论文 | 数据 / 脚本 | | |
| |---|---| | |
| | Table 1 MCP 服务目录与编译器指标 | `Biomanus/graph_outputs*/`、`Biomanus/experiments/graph_annotation_audit/`、根目录 `tool_catalog_inflation_audit.csv`、`effective_biologically_meaningful_tools_audit.csv` | | |
| | Table 2 主结果(BioAgentBench + LAB-Bench) | BioAgentBench:`experiments/multiseed_40workers/20260712_multimethod_known6_40workers_no_evolution/summary.json`,置信区间/稳定性见 `20260713_*` 各目录;ReAct 类方法见 `20260712_react_methods_40workers_no_evolution/`、`20260713_reactcode_*`。LAB-Bench:`Biomanus/experiments/lab_bench/results/`、`Biomni/experiments/lab_bench/results/`、根目录 `cloningscenarios_*`、`updated_table_labbench_bootstrap.*` | | |
| | Figure 4 规划上下文随工具规模扩展 | `Biomanus/experiments/plot/`(`plot_biomni_context_scale.py`、`plot_context_compare.py`、`*context*` 图)、`biomni_context_tokens.csv`、`Biomanus/experiments/bioagent-bench-runs_token_usage_*` | | |
| | Figure 5 / Table 6 消融 | `Biomanus/experiments/ablation/`(`scripts/run_all_ablation.sh`、`summarize_ablation_results.py`、`results/`)、`plot/plot_ablationstudy.py`、`plot/ablation_absolute_scores_and_deltas.csv` | | |
| | Figure 6 图噪声敏感性 | `Biomanus/experiments/graph_noise_robustness/`(`scripts/perturb_graph.py`、`run_labbench_noise_robustness.sh`、`summarize_labbench_noise.py`) | | |
| | Table 5 标注审计 | `Biomanus/experiments/graph_annotation_audit/` | | |
| | Rebuttal:T0–T5 编译器实验 | `Biomanus-V2/Experiment1/`(README 含完整运行协议) | | |
| 每个 run 目录保留了 `task_query.txt`、`retrieval_plan.json`、`execution_log.{json,txt}`、`final_answer.txt`、`output_validation.json`、`run_metadata.json`、`run_summary.json`,可直接回溯每次运行。 | |
| ## 4. 重建环境 | |
| ```bash | |
| conda env create -f env_spec/biomni_e1.yml # 主环境(Biomanus / Biomni) | |
| conda env create -f env_spec/labbench.yml # LAB-Bench 评测 | |
| conda env create -f env_spec/bioscientist.yml # BioScientist 基线 | |
| # 如 yml 中的 build 号在新机器上不可解析,可改用 Biomanus/biomni_env/environment.yml 再对照 *.pip-freeze.txt 补 pip 包 | |
| ``` | |
| 模型端点与密钥:原服务器的 `.env` **未上传**(含真实密钥)。请参考 `Biomanus/.env.example`、 | |
| `Biomanus_upload_code_only_20261013/README.md`(第 2、5 节)自行创建 `.env`。 | |
| 安装细节与首次运行流程见 `Biomanus/README.md` 和 `Biomanus_upload_code_only_20261013/README.md`。 | |
| ## 5. 运行入口 | |
| ```bash | |
| # BioManus 单任务(BioAgentBench) | |
| cd Biomanus && python run_bioagent_bench.py --task alzheimer-mouse \ | |
| --dataset-root ../bioagent-bench/dataset --output-root experiments/bioagent-bench-runs --llm <model> | |
| python evaluate_bioagent_bench.py --help | |
| # 多种子主实验(40 workers):先修改脚本顶部 WORKSPACE / PYTHON / DATASET_ROOT 等绝对路径 | |
| python ../experiments/multiseed_40workers/scripts/run_multimethod_bioagentbench_40workers.py --help | |
| # 消融 / 图噪声 / LAB-Bench | |
| bash experiments/ablation/scripts/run_all_ablation.sh | |
| bash experiments/graph_noise_robustness/scripts/run_labbench_noise_robustness.sh | |
| bash experiments/lab_bench/scripts/run_dbqa_hypobioos_experiment.sh | |
| # 绘图 | |
| python experiments/plot/plot_ablationstudy.py | |
| ``` | |
| 脚本中存在大量 `/225040511/project/Beyond_Prompt-Based_Planning` 与 `/225040511/miniconda3/envs/biomni_e1/bin/python` | |
| 绝对路径,迁移后请统一替换: | |
| ```bash | |
| grep -rl "/225040511/project/Beyond_Prompt-Based_Planning" --include=*.py --include=*.sh . \ | |
| | xargs sed -i "s#/225040511/project/Beyond_Prompt-Based_Planning#$(pwd)#g" | |
| ``` | |
| ## 6. 同步原始大数据(可选,服务器到服务器) | |
| 以下为可再生的中间产物,体积大,未进 GitHub。需要完整复跑/复查时直接 rsync: | |
| ```bash | |
| rsync -av --partial -e "ssh -p 32419" \ | |
| root@10.27.130.23:/225040511/project/Beyond_Prompt-Based_Planning/bioagent-bench/dataset/ <新路径>/bioagent-bench/dataset/ | |
| # 其余目录按 EXCLUDED_LARGE_DATA.txt 中的路径逐项同步 | |
| ``` | |
| BioAgentBench 数据集也可按 `bioagent-bench/README.md` 用 `download_dataset.py` 重新下载。 | |
| ## 7. 脱敏说明 | |
| 快照中对 1,700 余处真实密钥做了替换(原文位于运行日志、`Biomanus/main.py`、`BioScientist/*` 的硬编码以及 | |
| `UNCOMMITTED_CHANGES.patch` 中):`REDACTED_API_KEY`(OpenAI / DeepSeek 风格)、`REDACTED_GOOGLE_API_KEY`、`REDACTED_JWT`。 | |
| 除此之外文件内容与原服务器一致。`.env`、`*.key`、`*api_key*`、`node_modules`、`.git`、`__pycache__` 未包含。 | |