Closed Bug 2071250 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62616 - [AI WPTs] Anchor polarity in bounded JSON schema constraint tests

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox158 fixed)

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 62616 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/62616
Details from upstream follow.

Isaac Ahouma <iahouma@google.com> wrote:

[AI WPTs] Anchor polarity in bounded JSON schema constraint tests

Clarify the rating scale in the prompt to '-1.0 (worst) to 1.0 (best)'
and '-10 (worst) to 10 (best)'. Without explicit polarity anchors,
conversational models default to a 1-5 star review scale (producing
values like 4.0 or 5.0) which violates the test assertions.

Bug: 547963762
Change-Id: Ia42150e591e04d3e8b914d0f608fb3ed32d70e58
Fixed: 547963762
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8392837
Reviewed-by: Mike Wasserman \<msw@chromium.org>
Auto-Submit: Isaac Ahouma \<iahouma@google.com>
Commit-Queue: Mike Wasserman \<msw@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1695794}

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 15 tests and 1 subtests

Status Summary

Firefox

OK : 2[GitHub] 15[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 2[GitHub] 15[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

TIMEOUT: 4

Safari

OK : 2
FAIL : 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/775dfc7556ec https://hg.mozilla.org/integration/autoland/rev/aeeda486f19a [wpt PR 62616] - [AI WPTs] Anchor polarity in bounded JSON schema constraint tests, a=testonly
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.