Repository navigation
Conversation
Deploying midscene with
|
| Latest commit: |
2243cf0
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://8e9213f9.midscene.pages.dev |
| Branch Preview URL: | https://fix-core-read-loading-number.midscene.pages.dev |
quanru
marked this pull request as ready for review
November 25, 2026 09:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A numeric question immediately after an action can return null while its content is loading. This change removes the explicit
aiWaitForfrom the repository's weather test. The user can tap Search and ask for the temperature directly. The test now checks the exact answer, 72.A live
aiNumberextraction answers the original question, including counts and arithmetic, and reports whether missing evidence is visibly loading. Only a pending read takes a fresh screenshot. Additional observations start no earlier than 3 and 15 seconds from the first read, including elapsed inference time. Three pending observations fail the last reported task. A visible zero, an ordinary missing value, saved observations and reference-image queries take one observation. The standard planner is independent of this change (#3398).Matched browser evaluation
Base
51c3046c4, head2243cf0e8. Two runs per model on GPT-6.1 Terra and GPT-6.2 Sol, with fresh Puppeteer contexts. The independent oracle checks the returned number, actual visible field and a single triggering action. Across 132 final runs, the primary groups were:For the four asynchronous cases with loading cues, the PR used 52 model calls for 16 successful tasks, compared with 68 calls for 16 successes with the handwritten wait. These are controlled latency variants. The unchanged weather fixture succeeded on main as well. The comparison does not estimate production-wide wait coverage or wall-clock speedup.
An early prototype returned the wrong answer on all four sum questions, and two of four empty-list questions. The final prompt preserved counting and arithmetic. On main and the final PR, list counts, empty-list counts, sums and held-out averages all passed 16/16 with one numeric observation per question. Each ready-zero and missing-value control used a single observation on the PR. All four permanently pending reads stopped after three. Keep an explicit wait for a silent transition or an independently required business outcome.
Validation
pnpm run lintpnpm --filter @midscene/core exec tsc --noEmit -p tsconfig.jsonpnpm --filter @midscene/core exec rstest run tests/unit-test/number-readiness.test.ts tests/unit-test/insight-extract-prompt.test.ts(22 passed)NX_DAEMON=false pnpm exec nx build @midscene/web --output-style=staticpnpm --filter @midscene/core sync-report-templateAI_TEST_TYPE=web pnpm --filter @midscene/web exec rstest run tests/ai/web/puppeteer/ai-number.test.ts(passed using local Chrome and GPT-6.2 Sol)CI=true pnpm --filter @midscene/core exec rstest run --pool.maxWorkers 2(3,082 passed, 8 skipped). An earlier full run under benchmark load timed out in the report CLI process test. That suite passed 4/4 in isolation, then the full run passed.