-
Notifications
You must be signed in to change notification settings - Fork 1k
Fix e2e test failures with datasets>=4.0.0 and missing dependencies #2222
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
Conversation
…re dependency to be use the latest datasets version >=4.0.0. This resolvs an issue where pip accidentally resolves to a lower version due to a dependency in resolution chain that causes an unfavorable outcome leading to ragas breaking at the import step
/claude-review |
Claude finished @anistark's task —— View job PR Review Analysis🐛 Change Type Classification: Bug FixThis PR addresses compatibility issues with Code Review✅ Strengths
🔍 Areas for Improvement
🧪 Testing Considerations
🔒 Security & Performance
📝 DocumentationThe new utility function is well-documented with clear docstrings and parameter descriptions. SummaryThis is a well-executed bug fix that addresses real compatibility and reliability issues. The implementation is thoughtful, with proper error handling and fallback strategies. The changes are minimal, focused, and maintain backward compatibility. Recommended Action: ✅ Approve - This PR successfully resolves the identified issues and improves test reliability. Minor Suggestions:
|
…xplodinggradients#2222) ## Issue Link / Problem Description <!-- Link to related issue or describe the problem this PR solves --> - Fixes explodinggradients#2170 - Derived from PR explodinggradients#2201 ## Changes Made <!-- Describe what you changed and why --> - Fixed e2e test suite compatibility with `datasets>=4.0.0` - Resolved missing dependency issues (`unstructured` package) - Handled missing keys in tests. - formatting and type checks cleared ## Testing <!-- Describe how this should be tested --> ### How to Test - [x] Automated tests added/updated - [x] Manual testing steps: 1. `make run-ci` 2. `make test` 3. `make test-e2e` --------- Co-authored-by: Mike Nedelko <[email protected]>
Issue Link / Problem Description
Changes Made
datasets>=4.0.0
unstructured
package)Testing
How to Test
make run-ci
make test
make test-e2e