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

add notebook for detecting missing requirements #42

Merged
merged 2 commits into from
Apr 15, 2024

Conversation

haesleinhuepf
Copy link
Owner

This PR contains:

  • a new test-case for the benchmark
    • I hereby confirm that NO LLM-based technology (such as github copilot) was used while writing this benchmark
  • new generator-functions allowing to sample from other LLMs
  • new samples (sample_....jsonl files)
  • new benchmarking results (..._results.jsonl files)
  • documentation update
  • bug fixes

Related github issue (if relevant): #39

Short description:

  • This adds a notebook for detecting test-cases which failed due to missing dependencies.

How do you think will this influence the benchmark results?

  • Not directly.
  • If we conclude that those missing dependencies should be added, more tests might pass.

Why do you think it makes sense to merge this PR?

  • Making more tests pass is good.

@haesleinhuepf
Copy link
Owner Author

What I find interesting is that the notebook reports a test was failing because "No_module_named 'Pillow'", "passed": false}", but pillow is installed. Must be a spelling issue then.

@tischi
Copy link
Collaborator

tischi commented Apr 13, 2024

I see, this is maybe a bit complex, because

No_module_named 'skimage.label'

is a genuine error of the LLM as it would be skimage.measure.label, right?

@haesleinhuepf
Copy link
Owner Author

Correct, the LLMs sometimes halucinate python module names, which cannot be installed anyway. This PR helps though identifying libraries that could be installed

@haesleinhuepf haesleinhuepf merged commit b2bc823 into main Apr 15, 2024
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