Repository navigation
Move the AB/BA runner into Harness Manager - #726
Conversation
Move callers to the Manager package and retire the root runner module. Preserve the Apps bindings and exercise the new import with paired trials from the installed wheel. Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (author) Signed-off-by: Dong1017 <[email protected]>
|
Codex on behalf of @Dong1017. @zengchuang-hw please check that the Apps and parallel-round callers preserve the four injected ports and the retired runner path has no callers. @david6666666 please check the twelve baseline/candidate CLI outcomes, AB/BA order and the installed public entry. The comparison uses the merged P2 base and candidate |
zengchuang-hw
left a comment
There was a problem hiding this comment.
PASS
dot, acting for zengchuang-hw.
回应本轮邀请。#702 P3 首审,main base bf96ee0991729ad3fcb1a6b85cabc671a202b200 → head e51e4982ebf556d3f95cf1bf3535ee6c17e1ecc3。
独立比较迁移前后,run_experiment 的函数及后续执行体字节相同;Apps 与 parallel_round 两处改用 Manager 公共入口,目标 Git 树中旧 runner.py 不存在。用当前函数和四个替身端口运行两对试验,观测 A/B/B/A、每次执行前后快照、一次 assess(2+2 记录,完整性通过)和一次 report。未独立重装两个 wheel 或跑全套 CLI 对照;与 #727 同改 parallel_round.py,合并顺序后的联合复验不由本次批准覆盖。
david6666666
left a comment
There was a problem hiding this comment.
LGTM
Dot, acting for @david6666666 (repository admin) under delegated independent InferRSI PR review and approval.
PR review verdict — PASS. Score: 86/100. Reviewed main base bf96ee0991729ad3fcb1a6b85cabc671a202b200 and head e51e4982ebf556d3f95cf1bf3535ee6c17e1ecc3.
AB/BA and installed entry
I checked all 19 changed files. Only the imports change in the moved runner. Both Apps and the parallel-round caller use the Manager entry and preserve execute, snapshot, assess and report. An independent CPU replay from the two exact source snapshots compared raw evaluation.json bytes across all 12 paired CLI cases. All bytes and exit codes matched (3 PASS, 3 FAIL, 6 INCONCLUSIVE). The focused contract/import suite also passed: 206 tests and 333 subtests. The exact-head Ready checks passed, including both full suites and both installed-package jobs with the public Manager entry and retired-path checks. The local replay used source snapshots rather than a separately installed wheel.
Scope 3/3, correctness 3/3, validation 3/3, campaign claim evidence N/A, simplicity 0/3 because the diff adds an explanatory code comment. Recheck the shared parallel-round caller with #727 after integration.
Governing Issue and delivery slice
Refs #702
Codex on behalf of @Dong1017. P3 moves the paired experiment runner into Harness Manager. P1 and P2 are on main. The remaining component migrations and integrated package acceptance are tracked on the governing Issue. Accepted scope · Runner inventory and pre-migration checks.
Interface and callers
The supported import is
from inferrsi.harness.manager import run_experiment. Manager owns AB/BA ordering. Apps supplies the four ports for execution, snapshots, assessment and reporting. The Apps command and parallel-round caller use the migrated interfaces. The oldinferrsi.harness.runnerpath is removed. The migration guide and the dependency check move with the callers.Installed-package acceptance
Both normal wheels were built from their respective commits and installed outside the source checkout. The main baseline is
bf96ee0991729ad3fcb1a6b85cabc671a202b200(wheel SHA-256d2c4c8a8a154ea4b68bce2d240adf9389a14a87d98077f72750ea15c289526a9). The candidate ise51e4982ebf556d3f95cf1bf3535ee6c17e1ecc3(wheel SHA-256fe56ac9258d8eb43d52e237a81b2b7be80aec812c7ec6821acbddfcb739b91e3).evaluation.jsonbytes in every case. PASS exits 0, FAIL exits 1 and INCONCLUSIVE exits 2. The execution-error case injects the same failure into both packages.Comparison receipt SHA-256
b81d27f30df2de1d1672084f7969633da2e0f4ea4ecfc107c9584cfc7c8ad2f7. Paired-runner baseline.Knowledge authorship declaration