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

Make the Knapsack.java case easier to solve for models #230

Closed
zimmski opened this issue Jul 1, 2024 · 0 comments
Closed

Make the Knapsack.java case easier to solve for models #230

zimmski opened this issue Jul 1, 2024 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@zimmski
Copy link
Member

zimmski commented Jul 1, 2024

[`Knapsack.java`](https://github.com/symflower/eval-dev-quality/blob/main/testdata/java/light/src/main/java/com/eval/Knapsack.java) contains a nested class `Item`. Due to an oversight on our side we did not make the class `static` which means `Item` needs to be initialized with `new Knapsack().new Item()`. We were surprised to see that this caused troubles for almost all LLMs which were trying to initialize with `new Knapsack.Item()`.

Since these examples are not about language features but about how well LLMs are doing at logic and general use of a language, please fix the example so it is easier to solve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants