-
Notifications
You must be signed in to change notification settings - Fork 44.5k
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 tests for json_utils.json_fix_llm #2952
Add tests for json_utils.json_fix_llm #2952
Conversation
Signed-off-by: Merwane Hamadi <[email protected]>
Signed-off-by: Merwane Hamadi <[email protected]>
…re/create-smoke-test Feature/create smoke test
…e-plugins Enable support for loading multiple plugins per zip file
…s/richbeales-patch-1 Plugins: debug line always printed in plugin load
Run the linter please |
Also let’s add some more realistic test cases for the content we expect to see |
Not sure why this needs the api key. Will look a bit later today when I’m at my laptop |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #2952 +/- ##
==========================================
- Coverage 46.75% 38.59% -8.16%
==========================================
Files 63 63
Lines 3016 3016
Branches 496 496
==========================================
- Hits 1410 1164 -246
- Misses 1493 1786 +293
+ Partials 113 66 -47 see 16 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
I intentionally wanted to keep it very simple, to start lean. And as you can see, we already find interesting behavior, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait to mkae the change mentioned until I discuss with team
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix up merge artifacts and it’s 🚀
Two unit-tests failures seems unrelated to the PR |
…ng_multiple_techniques
Background
I get the following error a lot. Before debugging and refactoring, let's add relevant simple unit-tests.
Error: The following AI output couldn't be converted to a JSON:
Changes
Added tests for json_utils.json_fix_llm::fix_json_using_multiple_techniques()
Documentation
Test Plan
Add tests, they pass
PR Quality Checklist