Skip to content

Fix prompt scaling in response generation#208

Open
EMZEDI wants to merge 1 commit intomainfrom
EMZEDI-patch-1
Open

Fix prompt scaling in response generation#208
EMZEDI wants to merge 1 commit intomainfrom
EMZEDI-patch-1

Conversation

@EMZEDI
Copy link
Collaborator

@EMZEDI EMZEDI commented Feb 3, 2026

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug where the prompt scale description didn't match the actual score range being used. The scores are randomly generated in the range 1-5 (line 55), but the _preference_axes_scale() method was being called without parameters, causing it to use default values of 1-2 for the scale description, creating inconsistent and misleading prompts.

Changes:

  • Added explicit parameters 1, 5 to the _preference_axes_scale() method call to match the actual score range generated by random.randint(1, 5)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants