Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Equal items aren't properly handled #1

Open
GerritPlehn opened this issue Jan 10, 2023 · 0 comments
Open

Equal items aren't properly handled #1

GerritPlehn opened this issue Jan 10, 2023 · 0 comments

Comments

@GerritPlehn
Copy link
Owner

When two items are being selected as equal in a prompt, the program still asks unnecessary questions afterwards.
In the case of 669580c with the options ['Pizza', 'Pasta', 'Kebab'] the user gets asked which of ['Pizza', 'Pasta'] is better in prompt #1.

If the user answers Equal, prompt #2 is for ['Pasta', 'Kebab'].

Regardless of the answer, prompt #3 for ['Kebab','Pizza'] is shown, which can lead to conflicting results.

As an example, assume we picked Pasta > Kebab in prompt #2

a = score(Pizza)
b = score(Pasta)
c = score(Kebab)

Prompt #1
a = b

Prompt #2
b > c

=> a > c

At this point we know that a MUST be better than c, however prompt #3 gives us the option to override this.

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

No branches or pull requests

1 participant