From b0c8af5c1e1843e2d10f672b0dc7e4f166967142 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 25 Nov 2026 02:18:38 +0000 Subject: [PATCH] =?UTF-8?q?ENTRYPOINTS:=20venv=20rerun=20=E2=80=94=20multi?= =?UTF-8?q?gate=20and=20selection=20tests=20verified;=20Transolver=20unver?= =?UTF-8?q?ified=20(no=20torch)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- handover/code/ENTRYPOINTS.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/handover/code/ENTRYPOINTS.md b/handover/code/ENTRYPOINTS.md index 9b2c03378..06b3285bf 100644 --- a/handover/code/ENTRYPOINTS.md +++ b/handover/code/ENTRYPOINTS.md @@ -3,6 +3,7 @@ ## 冷启动回执(Frank 以 agycode 在 aws-la 交互实测,配方 @1306b2c,2026-11-25) - (b) 检出大小:clone/fetch 成功;`count-objects -vH` 检出前 size-pack 5.39 MiB(17,864 对象),检出 591299e0 后 7.75 MiB(18,841 对象);松散对象 0。**轻量检出可行,约 8 MiB。** - (a) fixture:三个 worktree 的 HEAD 精确为 727a01bc / a13521af / 01c1cc53;三项均 `ModuleNotFoundError: numpy`、退出 1 → **未验**(裸环境:无 `python`,`python3` 为 3.13.5,未装包)。下一步:按下方第 0b 节建虚拟环境后重跑。 +- (a') 用户 venv 重跑(`python3 -m venv --without-pip` + get-pip + `numpy==2.5.5`,无 sudo/apt):**a13521af 多浇口 5 测试 OK、退出 0;01c1cc53 选件规则 5 测试 OK、退出 0 → 已验**(只需 numpy)。727a01bc Transolver:`ModuleNotFoundError: torch`、退出 1 → **未验**(未装 torch)。 ## 0. 轻量检出(冷启动从这里开始,不依赖 Horsea 缓存) 验收分两项分别记录:**(a) fixture 能否跑**(见下);**(b) 检出实际多大**——保留 clone/fetch 的完整 stderr,并在 checkout 前后各记一次 `git count-objects -vH`。Gitea 广告支持 `shallow`、`filter`(TRON 只查 refs 实证);Horsea 本地旧 pack 的 30.516 GiB 不是远端下载量。 @@ -19,7 +20,7 @@ git checkout 591299e0b23fe962661f32d90fa80e6ae8a53927 # 主代码基线 **0b. 环境(新增,待验)**:在冷启动目录建隔离虚拟环境,不改系统: ``` python3 -m venv ../venv && . ../venv/bin/activate -pip install numpy scipy scikit-learn # 多浇口与选件规则测试的最低依赖(推测,待确认) +pip install numpy # 多浇口与选件规则测试实测只需 numpy(2.5.5 通过) pip install torch --index-url https://download.pytorch.org/whl/cpu # 仅 Transolver 测试需要 ``` 精确版本以 MeltSol 整合包 env 表(8 行)为准;若与上面不同,以 env 表为准并记录。脚本里调用 `python` 的地方用 `python3`。