[GH-ISSUE #4190] [Issue]: Preset prompt variable Random Pick does not randomize selected values #2270

Closed
opened 2026-10-21 05:46:51 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @SpicyMarinara on GitHub (Jul 27, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4190

Originally assigned to: @SpicyMarinara on GitHub.

Summary

In the Presets tab prompt editor, the Random Pick option for choice variables is reported not to work. When multiple variable values are selected and Random Pick is enabled, prompt resolution does not randomly choose one of the selected values as intended.

Expected behavior

When a preset choice variable has multiple selected values and Random Pick is enabled, each prompt resolution or generation should choose one value from that selected set. Repeated generations should be able to produce different choices.

Actual behavior

The Random Pick option does not randomize the selected variable values during prompt use. The exact fallback or repeatedly selected value has not been specified by reporters.

Steps to reproduce

  1. Open the Presets tab and edit a prompt preset.
  2. Create or edit a choice variable with multiple available values.
  3. Select multiple values and enable Random Pick for that variable.
  4. Save and use the preset for several prompt generations.
  5. Observe that the selected values are not randomly resolved as expected.

Environment

  • Marinara Engine version: Not specified
  • Install type: Not specified
  • OS + version: Not specified
  • Browser or app shell: Not specified

Logs, screenshots, or video

None provided.

Additional context

A historical choice-variable runtime issue, #2266, covered Random Pick behavior and was closed. This report tracks the currently observed failure as a new regression rather than reopening that broader parity issue.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Jul 27, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4190 Originally assigned to: @SpicyMarinara on GitHub. ## Summary In the Presets tab prompt editor, the **Random Pick** option for choice variables is reported not to work. When multiple variable values are selected and Random Pick is enabled, prompt resolution does not randomly choose one of the selected values as intended. ## Expected behavior When a preset choice variable has multiple selected values and **Random Pick** is enabled, each prompt resolution or generation should choose one value from that selected set. Repeated generations should be able to produce different choices. ## Actual behavior The **Random Pick** option does not randomize the selected variable values during prompt use. The exact fallback or repeatedly selected value has not been specified by reporters. ## Steps to reproduce 1. Open the **Presets** tab and edit a prompt preset. 2. Create or edit a choice variable with multiple available values. 3. Select multiple values and enable **Random Pick** for that variable. 4. Save and use the preset for several prompt generations. 5. Observe that the selected values are not randomly resolved as expected. ## Environment - Marinara Engine version: Not specified - Install type: Not specified - OS + version: Not specified - Browser or app shell: Not specified ## Logs, screenshots, or video None provided. ## Additional context A historical choice-variable runtime issue, #2266, covered Random Pick behavior and was closed. This report tracks the currently observed failure as a new regression rather than reopening that broader parity issue. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:46:51 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Jul 27, 2026):

Implementation is now owned by @SpicyMarinara in draft PR #4193. Runtime selection/default paths are being exercised with deterministic Random Pick coverage.

<!-- gh-comment-id:5098011767 --> @SpicyMarinara commented on GitHub (Jul 27, 2026): Implementation is now owned by @SpicyMarinara in draft PR #4193. Runtime selection/default paths are being exercised with deterministic Random Pick coverage.
Author
Owner

@SpicyMarinara commented on GitHub (Jul 28, 2026):

Completed by #4193, now merged into staging as 62948b495.

<!-- gh-comment-id:5098322980 --> @SpicyMarinara commented on GitHub (Jul 28, 2026): Completed by #4193, now merged into `staging` as 62948b495.
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#2270
No description provided.