[PR #6548] [MERGED] test: cover GPT-6 reasoning-off log probabilities #7222

Closed
opened 2026-10-23 04:17:40 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6548
Author: @SpicyMarinara
Created: 9/22/2026
Status: ✅ Merged
Merged: 9/22/2026
Merged by: @SpicyMarinara

Base: staging ← Head: codex/sept22-model-review-followup


📝 Commits (2)

  • cadfee8 test: clarify GPT-6 log probability request formats
  • badcc7a test: assert GPT-6 Chat Completions log probabilities

📊 Changes

1 file changed (+4 additions, -0 deletions)

View changed files

📝 scripts/regressions/gpt-6-astra.regression.ts (+4 -0)

📄 Description

Linked issue

Refs #6546. Follow-up to #6547 and CodeRabbit’s comment.

Why this change

The GPT-6 regression matrix verifies Responses log probabilities but does not explicitly verify that Chat Completions preserves logprobs when Sol/Luna reasoning is off. This follow-up adds that missing coverage using the existing fixtures.

What changed

  • Add logprobs and top_logprobs to the existing Chat Completions fixture and assert their values for reasoning Off and Maximum across Astra, Sol, and Luna.
  • Clarify why the Responses fixture uses include instead of the Chat Completions boolean.

Owned by Codex for @SpicyMarinara.

The exact suggested change would add Chat Completions’ logprobs boolean to a Responses request. Responses uses include: ["message.output_text.logprobs"] instead, which is already covered. The follow-up asserts the boolean on the existing Chat Completions path and preserves the reasoning-enabled negative controls. See the official GPT-6 parameter guidance.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

pnpm check, the GPT-6 and Claude Opus 5.5 regression suites, and formatting checks passed. A temporary mutation that removed permitted logprobs caused the new assertion to fail as expected; production code was restored afterward.

Test-only follow-up; no application UI or provider behavior changes. No new browser, physical-device, container-runtime, or billed API verification was performed. Existing Opus coverage confirms its previously addressed sampler finding remains fixed.

Local CodeRabbit: completed with zero findings. Human checkboxes remain unchecked.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened
  • Version/release files updated (only if this PR includes a version bump)

No product or contributor-workflow change, so no changelog entry or release metadata change.

UI evidence (if applicable)

Not applicable: regression script only.

Summary by CodeRabbit

  • Tests
    • Updated GPT-6 Astra, Sol, and Luna regression coverage for log-probability settings.
    • Added verification that log-probability parameters are forwarded appropriately based on model reasoning support and effort configuration.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/6548 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 9/22/2026 **Status:** ✅ Merged **Merged:** 9/22/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/sept22-model-review-followup` --- ### 📝 Commits (2) - [`cadfee8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/cadfee86fd4370886625bfcacafc568b6ebcfe8d) test: clarify GPT-6 log probability request formats - [`badcc7a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/badcc7ab3af68483508493b538260f7f3bab5fe0) test: assert GPT-6 Chat Completions log probabilities ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `scripts/regressions/gpt-6-astra.regression.ts` (+4 -0) </details> ### 📄 Description ## Linked issue Refs #6546. Follow-up to #6547 and [CodeRabbit’s comment](https://github.com/Pasta-Devs/Marinara-Engine/pull/6547#discussion_r4075299177). ## Why this change The GPT-6 regression matrix verifies Responses log probabilities but does not explicitly verify that Chat Completions preserves `logprobs` when Sol/Luna reasoning is off. This follow-up adds that missing coverage using the existing fixtures. ## What changed - Add `logprobs` and `top_logprobs` to the existing Chat Completions fixture and assert their values for reasoning Off and Maximum across Astra, Sol, and Luna. - Clarify why the Responses fixture uses `include` instead of the Chat Completions boolean. Owned by Codex for @SpicyMarinara. The exact suggested change would add Chat Completions’ `logprobs` boolean to a Responses request. Responses uses `include: ["message.output_text.logprobs"]` instead, which is already covered. The follow-up asserts the boolean on the existing Chat Completions path and preserves the reasoning-enabled negative controls. See the [official GPT-6 parameter guidance](https://developers.openai.com/api/docs/guides/latest-model/gpt-6-astra.md#migration-quickstart). ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes `pnpm check`, the GPT-6 and Claude Opus 5.5 regression suites, and formatting checks passed. A temporary mutation that removed permitted `logprobs` caused the new assertion to fail as expected; production code was restored afterward. Test-only follow-up; no application UI or provider behavior changes. No new browser, physical-device, container-runtime, or billed API verification was performed. Existing Opus coverage confirms its previously addressed sampler finding remains fixed. Local CodeRabbit: completed with zero findings. Human checkboxes remain unchecked. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened - [ ] Version/release files updated (only if this PR includes a version bump) No product or contributor-workflow change, so no changelog entry or release metadata change. ## UI evidence (if applicable) Not applicable: regression script only. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Tests** * Updated GPT-6 Astra, Sol, and Luna regression coverage for log-probability settings. * Added verification that log-probability parameters are forwarded appropriately based on model reasoning support and effort configuration. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:17:40 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#7222
No description provided.