Skip to content

Align Moli automation profile and explicit viewport preconditions - #28

Merged
lanyue-llk merged 2 commits into
codex/moli-benchmark-harness-fixfrom
codex/cdp-preconditions
Sep 22, 2026
Merged

lanyue-llk merged 2 commits into
codex/moli-benchmark-harness-fixfrom
codex/cdp-preconditions

Conversation

@lanyue-llk

@lanyue-llk lanyue-llk commented Sep 22, 2026 •

Copy link
Copy Markdown

The browser-automation launch profile already enables --enable-automation for Chromium, but does not enable it for Moli. The viewport probe also assumes a platform-specific default width of 780 CSS pixels.

Add Moli to the existing task-scoped browser_automation profile. Set an explicit 780×600 viewport with DPR 1, preserve all three width assertions and add cssVisualViewport.clientWidth. No global launch switch, scoring exception or engine-specific expected value is needed.

This PR targets the existing harness PR #25 branch, where task-scoped automation profiles are defined; it does not duplicate that work. The viewport task is byte-identical to the frozen 12-case verification contract. Validation on this exact PR commit (82813ce): only the original 12 cases, three attempts per engine; Moli 36/36 and Chromium 36/36, run pr28_original_12. No other benchmark cases ran.

Moli implementation: lexmount/moli#731
Report, task definitions and evidence: https://artifact-site.lexmount.cn/v/WiF5KVJ_Ta2lgsaj3r81hCejInBl4u1f

Review illustrations and evidence

完整验证报告:逐项根因、Chromium 对照与原始证据

以下为 ImageGen 生成的机制示意图;执行结果与原始证据见报告。

评测前提:自动化启动配置与显式视口

启动参数决定自动化接口是否可用;视口断言必须建立相同的 CSS 像素与 DPR 前提。

评测前提:自动化启动配置与显式视口

@lanyue-llk
lanyue-llk merged commit 0ff8f54 into codex/moli-benchmark-harness-fix Sep 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant