Repository navigation
Show best measured candidates directly in Research questions - #9307
Conversation
Signed-off-by: LoopX Agent <[email protected]>
Signed-off-by: LoopX Agent <[email protected]>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
Request changes conclusion (author-owned PR; GitHub blocks formal self-review)
[P2] 单条结论缺失时,问题仍打开却丢失所有可用最佳记录
问题级摘要挂在单条 finding 的渲染分支。找不到所选 finding 时,这个分支不渲染;来源与历史的另一份摘要又受 questionExpanded 的反向条件限制。 在问题层按 selected.id 渲染最佳记录,保持缺失 finding 的提示。让重复名称的摘要行显示可用于区分的简短评测或范围,完整版本与来源继续按需展开。 候选代码
动机 / Motivation
打开研究问题的读者想直接辨认每种可比较评测下的最佳候选,并追溯结果来源。 基线将问题级最佳值放在来源与历史中,读者通常要先展开证据层,才能查到对应候选。 这一改动应把问题级候选比较放到问题页,同时让单条 finding 的缺失态和研究问题的有效数据各自按实际情况显示。
在同一 SQLite 研究历史中构造两种 shipping 评测。它们的单位、方向和最佳分数相同,但最佳候选不同。 当前 head 的正常问题页可读到两个正确的最佳候选。键盘展开后读到对应评测、输入版本、适用范围和来源。
同一个问题仍有四条 finding 和两组有效测量。打开带 research_question=1 的保留链接,指向暂时无法读到的 finding。 问题级摘要挂在单条 finding 的渲染分支。找不到所选 finding 时,这个分支不渲染;来源与历史的另一份摘要又受 questionExpanded 的反向条件限制。 实际打包页面仍打开问题并列出四个可选 finding,但完全没有最佳候选区。选择任一可用 finding 后又退出问题模式,读者必须展开来源与历史才能重见结果。 使用精确提交构建的 Chat bundle、真实只读 HTTP owner 与隔离 SQLite 合成数据。已检查桌面 1200×888 和窄屏 390×844,未覆盖签名 Desktop 安装或生产研究数据。
改动思路 / Approach
TypeScript 按问题、指标、单位、方向、输入版本、范围和评测计算。React 应根据所选问题读回,再依据当前是问题还是 finding 决定展示位置。 复用现有 question-level 投影与 disclosure,无需新状态或算法。把 question 分支移到 finding 选择之外即可保留已有结果;同名摘要只需要一个范围标识。
具体改动 / Changes
关键代码讲解
评审头 03bb318,合并基线 f4eeed9。6 个文件,+86/−4。 依据 Question-first measured comparison 和 Unavailable or historical finding recovery 核对现有入口。 仓库规范 任务入口验收 比较摘要布局
- findingElement。问题摘要跟随单条 finding,后续是否调用取决于当前 finding 是否存在。 代码
- selectedFinding 与来源折叠区。缺失时原提示仍出现,问题级摘要未挂载。下方来源区仅在 finding 模式承载这份摘要。 代码
- ExploreCandidateLeaders。React key 保留完整比较条件,默认 summary 只显示指标名、候选、分数和覆盖数。 代码
- projectExploreHistory。用 loaded history 的有效 finding 版本请求额外候选结果。 代码
- projectExploreMeasurementFeedback。在现有可比组中对候选去重,记录并列或较优项。 代码
对主干的风险 / Risks
语义与 CI 对齐
基线和候选定向 TypeScript 共通过 43 和 44 项,涵盖去重、并列、低值优先、缺值和旧 feedback。候选完成生产 Chat 构建;标准 premerge 的 4 项直接和 12 项选中自动检查通过。 以上浏览器反例独立于通过的模型测试。远端 CI 未查询。 两组同名指标在窄屏无页面级横向溢出。折叠态同时显示两个 6 checks 的不同候选,却把唯一可区分的评测藏在二级展开中。旧版来源层布局与新布局都沿同一问题核对。
同一个公开可复验的合成购物车案例,共四条测量和两个评测。 基线默认只读单条结论。候选可直接看到两组最佳;缺失 finding 时同一问题的完整比较消失,同名组只有展开后可区分。
我的整体评价 / Verdict
当前提交需要修改。保留当前可比组、并列、部分历史标记和键盘操作。稳定的研究问题应在任一 finding 缺失时继续显示真实比较结果。 请用正常链接及缺失 finding 的问题链接分别复验,确认来源可读且默认行能看出两个 6 checks 属于不同评测。
实测正常默认首屏与缺失结论错误态,展开及恢复后也读回。 使用精确提交构建的 Chat bundle、真实只读 HTTP owner 与隔离 SQLite 合成数据。已检查桌面 1200×888 和窄屏 390×844,未覆盖签名 Desktop 安装或生产研究数据。
English verdict: REQUEST_CHANGES — the question's valid candidate comparison disappears when its linked finding is missing, and collapsed duplicate metrics do not identify the independent evaluations. Exact head 03bb318.
Signed-off-by: LoopX Agent <[email protected]>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
Request changes conclusion (author-owned PR; GitHub blocks formal self-review)
[P2] 单条结论缺失时,问题仍打开却丢失所有可用最佳记录
问题级摘要挂在单条 finding 的渲染分支。找不到所选 finding 时,这个分支不渲染;来源与历史的另一份摘要又受 questionExpanded 的反向条件限制。 在问题层按 selected.id 渲染最佳记录,保持缺失 finding 的提示。让重复名称的摘要行显示可用于区分的简短评测或范围,完整版本与来源继续按需展开。 候选代码
动机 / Motivation
打开研究问题的读者想直接辨认每种可比较评测下的最佳候选,并追溯结果来源。 基线将问题级最佳值放在来源与历史中,读者通常要先展开证据层,才能查到对应候选。 这一改动应把问题级候选比较放到问题页,同时让单条 finding 的缺失态和研究问题的有效数据各自按实际情况显示。
在隔离 SQLite 中从 24 项分组正常打开有测量的问题。另用两个彼此独立的购物车评测复现同名同分的比较。 当前 head 从分组进入后可直接读到历史最佳的 2 次错误,页面重载仍保持问题模式。两个独立评测的普通问题页也列出两个准确的最佳候选。
同一个问题仍有四条 finding 和两组有效测量。打开带 research_question=1 的保留链接,指向暂时无法读到的 finding。 问题级摘要挂在单条 finding 的渲染分支。找不到所选 finding 时,这个分支不渲染;来源与历史的另一份摘要又受 questionExpanded 的反向条件限制。 实际打包页面仍打开问题并列出四个可选 finding,候选比较区仍未渲染。正常问题链接对照验证有两组有效结果。 使用精确提交构建的 Chat bundle、真实只读 HTTP owner 与隔离 SQLite 合成数据。证据覆盖浏览器打包页,签名 Desktop 与生产数据待验收。
改动思路 / Approach
TypeScript 按问题、指标、单位、方向、输入版本、范围和评测计算。React 应根据所选问题读回,再依据当前是问题还是 finding 决定展示位置。 新增的 chooseQuestion 修好了分组导航。沿用现有 question-level 投影与 disclosure,把结果区的渲染上移到问题层即可覆盖旧结论缺失,不需要新的选择状态。
具体改动 / Changes
关键代码讲解
评审头 0b9c9fb,合并基线 f4eeed9。7 个文件,+104/−7。 依据 Question-first measured comparison 和 Unavailable or historical finding recovery 核对现有入口。 仓库规范 任务入口验收 比较摘要布局
- chooseQuestion。分组打开只传问题选择,保留问题级模式。 代码
- findingElement。问题摘要跟随单条 finding,后续是否调用取决于当前 finding 是否存在。 代码
- selectedFinding 与来源折叠区。缺失时原提示仍出现,问题级摘要未挂载。下方来源区仅在 finding 模式承载这份摘要。 代码
- ExploreCandidateLeaders。React key 保留完整比较条件,默认 summary 只显示指标名、候选、分数和覆盖数。 代码
- projectExploreMeasurementFeedback。在现有可比组中对候选去重,记录并列或较优项。 代码
对主干的风险 / Risks
语义与 CI 对齐
基线和候选定向 TypeScript 共通过 43 和 44 项,涵盖去重、并列、低值优先、缺值和旧 feedback。候选完成生产 Chat 构建;标准 premerge 的 4 项直接和 13 项选中自动检查通过。 以上浏览器反例独立于通过的模型测试。远端 CI 未查询。 两组同名指标在窄屏无页面级横向溢出。折叠态同时显示两个 6 checks 的不同候选,却把唯一可区分的评测藏在二级展开中。新分组路径进入问题后重载成功,失效链接保留四条现有结论。
同一个公开可复验的合成购物车案例,共四条测量和两个评测。 基线默认只读单条结论。候选可直接看到两组最佳;缺失 finding 时同一问题的完整比较消失,同名组只有展开后可区分。
我的整体评价 / Verdict
当前提交需要修改。保留已通过的分组导航、可比度量和部分历史标记。研究问题级结果应在所选 finding 缺失时继续展示。 请用正常链接及缺失 finding 的问题链接分别复验,确认来源可读且默认行能看出两个 6 checks 属于不同评测。
实测分组、重载与失效链接。窄屏上,失效提示占据阅读位,仍可用的比较结果没有出现。 使用精确提交构建的 Chat bundle、真实只读 HTTP owner 与隔离 SQLite 合成数据。证据覆盖浏览器打包页,签名 Desktop 与生产数据待验收。
English verdict: REQUEST_CHANGES — the question's valid candidate comparison disappears when its linked finding is missing, and collapsed duplicate metrics do not identify the independent evaluations. Exact head 0b9c9fb.
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
Approval conclusion (author-owned PR; GitHub blocks formal self-approval)
动机 / Motivation
研究问题的读者需要看清各评测的最佳候选,并核对每条结果来源。 主干将跨结论的测量放在「来源与历史」里。上一个评审提交把比较放到了单条结论的渲染分支,失效链接使整个比较消失。同名同分的折叠行也无法识别评测。 按问题显示已有比较,在单条结论缺失时保留比较和恢复入口,明确区分同名指标的评测条件。
用上轮的 SQLite 购物车案例复验四条结论和两组独立评测。从普通问题链接及 24 项问题分组进入。 普通链接出现两行最佳记录,分组打开显示历史最佳 2 failures,重载仍是问题模式。两条同名记录都为 6 checks,折叠行把 strict-original · wide 对应到 candidate:handles-both,把 screening-proxy · cheap 对应到 candidate:empty-only。
保留的链接带问题模式且指向已缺失的单条结论。 候选保留缺失提示并显示同一问题的两组最佳。 键盘分别展开后读到 result:wide-handles-both 与 result:cheap-empty-only,版本均为 shopping-cart-v1。重新选择 Observation 4 后消除缺失提示、退出问题模式,跨结论比较移到默认关闭的「来源与历史」,重新展开可读。 用打包 Chat、真实只读 HTTP owner 与隔离 SQLite 合成数据复验。签名桌面安装和生产数据未验证。
改动思路 / Approach
React 按选中的问题 ID 渲染比较。共享 TypeScript owner 只在历史调用显式选择时生成候选汇总,按原有指标、单位、方向、范围、版本和评测分组。 在问题级位置读取既有投影,并只显示同名组中有差别的评测条件,复用了 URL 选择和详情组件。
具体改动 / Changes
关键代码讲解
评审头 719429b,合并基线 f4eeed9。7 个文件,+142/−7。 依据 Question-first measured comparison 和 Unavailable or historical finding recovery 核对现有入口。 仓库规范 上一轮反例
- GoalResearchHistory。缺失提示与问题级比较分别根据当前结论和问题模式显示。 代码
- research-node-provenance。单条结论模式下仍可从原来源区展开问题级比较。 代码
- ExploreCandidateLeaders。默认折叠行显示同名组有差异的评测、范围或输入版本。 代码
- projectExploreHistory。只有历史读回打开候选汇总选项。 代码
- projectExploreMeasurementFeedback。复用原可比度量,按候选汇总更优与并列记录。 代码
对主干的风险 / Risks
语义与 CI 对齐
44 项定向 TypeScript 测试通过,涵盖并列、较小为优、缺值、重复候选、取代结论与独立范围。生产 Chat 构建成功。标准 premerge 4 项直接检查和 13 项选中检查通过。 同名行的两个分数只在各自的可比组内有意义。原反例与正常导航使用同一数据库复验,并通过键盘逐条确认独立来源。GitHub CI 未查询。
我的整体评价 / Verdict
同意此提交的代码改动。保留现有问题链接、结论版本、可比组和来源折叠。 上一轮报告的两处问题在该提交均已复验通过。
1200px 正常问题先显示带评测条件的两条最佳记录,再显示单条结论。390px 失效提示下仍能读到两行赢家和条件,文字换行。展开可继续向下读评测与来源,回到单条结论后比较收入「来源与历史」。 用打包 Chat、真实只读 HTTP owner 与隔离 SQLite 合成数据复验。签名桌面安装和生产数据未验证。
English verdict: APPROVE — stale saved links preserve the available question comparison, collapsed rows identify independent evaluations, and each winner's source and single-finding recovery were independently verified. Exact head 719429b.
Outcome
A reader opening a measured Research question can see which candidates reached the best observed value for each metric. In the cart example, two screening rules score their own top candidate six checks. One picks the empty-cart-only change. The other agrees with the original evaluator and picks the change that fixes both cases.
The first three metric groups show the candidate or tie count, historical best score, direction and number of distinct measured candidates. Opening a row reveals the evaluation, input version, comparison scope and one source for each tied candidate. Additional metric groups stay collapsed. A link to an individual finding keeps the question-wide comparison in Sources and history.
The question keeps its available comparisons when a saved link refers to a missing finding. The reader explains which record is unavailable and offers the other recorded findings. When multiple rows use the same metric name, the collapsed rows show the evaluation, scope or input version that differs.
Comparison semantics
Explore's existing comparison and ordering rules still own the calculation. Repeated observations of a candidate count once toward coverage. Missing values stay unmeasured, ties retain each candidate, and revised findings use their current source. Partial history labels the result as limited to loaded records. The extra candidate data is requested only by the history reader. Existing CLI and agent feedback keep their prior shape.
Packaged visual evidence
Saved question at
719429b57e, served by the packaged Chat reader with a real SQLite history containing 86 synthetic records. Both evaluations report two errors. The validation suite favors the compact candidate and the holdout suite favors the wide candidate. The referenced finding is missing in both captures.Same saved link before the fix, desktop and narrow
At
0b9c9fbd86the missing-record message was visible and both comparisons disappeared.Earlier direct-question comparison on desktop and mobile
Tested revision
03bb318678b9cf290f1b135f884b3e4bf25f9395, basef4eeed9d325bfd6e8994175798a8d7480ab8c199. Before and after show the same opened question in a populated synthetic Goal, served by the real local Chat backend over isolated SQLite. Captures cover the packaged web reader. Signed desktop installation and autonomous model choices are outside this verification.Desktop before and after
Narrow before and after
Opening a question from a group
Opening a question from the list of 24 previously selected its latest finding. In this example that finding recorded four errors. The earlier candidate with two errors was only visible under Sources and history. The same list action now shows the two-error candidate and the latest finding together. Selecting a particular historical finding still opens that record.
Grouped question on desktop and mobile, before and after
The packaged reader used the same synthetic SQLite history for both revisions. Before is
03bb318678, after is0b9c9fbd86.1200 px
390 px
Verification
44 tests passed across Explore measurements, history and yardstick decisions, including ties, repeated candidates, minimization, missing values, independent scopes and superseded records.
The control-plane TypeScript check and production Chat bundle build passed.
In the packaged reader, the desktop and narrow question views showed the expected three leaders with details closed. Keyboard expansion exposed the expected evaluator and primary result reference. Selecting an individual finding put cross-finding results under the closed provenance section.
The packaged browser regression covers opening a question from the group list, switching to a tie, reloading, selecting an older finding and moving to an unmeasured question. The narrow reader also exposed both tied candidates’ source records.
The saved-link regression checks both evaluators and winners, opens the winning source with the keyboard, then selects an available finding and verifies individual reading resumes.
Written by an OpenAI Codex agent.