forked from SakanaAI/AI-Scientist
-
Notifications
You must be signed in to change notification settings - Fork 0
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
test: Update integration tests to use real APIs #5
Open
erkinalp
wants to merge
16
commits into
main
Choose a base branch
from
devin/1734706050-mock-api-tests
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Add version specifications for all packages - Categorize dependencies (LLM APIs, Viz, Core, Optional) - Add development dependencies - Include system monitoring tools - Add helpful comments for clarity Part of SakanaAI#158 Co-Authored-By: Erkin Alp Güney <[email protected]>
- Add minimum hardware requirements - Add recommended hardware requirements - Include detailed explanations for each requirement - Add notes about GPU requirements - Document storage requirements breakdown Part of SakanaAI#158 Co-Authored-By: Erkin Alp Güney <[email protected]>
- Add system requirement verification in launch_scientist.py - Update requirements.txt with psutil for system monitoring - Create comprehensive model configuration documentation - Add hardware requirements documentation - Update README with improved installation instructions Co-Authored-By: Erkin Alp Güney <[email protected]>
- Add pyproject.toml with project metadata - Add setup.py with improved requirements parsing - Handle comments and version specifiers in requirements.txt Co-Authored-By: Erkin Alp Güney <[email protected]>
- Remove category-based dependency filtering - Install all requirements by default - Fix dependency installation issues Co-Authored-By: Erkin Alp Güney <[email protected]>
Co-Authored-By: Erkin Alp Güney <[email protected]>
Co-Authored-By: Erkin Alp Güney <[email protected]>
Co-Authored-By: Erkin Alp Güney <[email protected]>
Co-Authored-By: Erkin Alp Güney <[email protected]>
Co-Authored-By: Erkin Alp Güney <[email protected]>
- Modified CitationAPIManager fixture to use available APIs - Updated assertions to handle partial API availability - Tests now pass without requiring Scopus API key - Added cite_key column to Citation model - Improved rate limiter initialization Co-Authored-By: Erkin Alp Güney <[email protected]>
…e files Co-Authored-By: Erkin Alp Güney <[email protected]>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
⚙️ Control Options:
Add "(aside)" to your comment to have me ignore it. |
Co-Authored-By: Erkin Alp Güney <[email protected]>
…odified CitationAPIManager fixture to use real APIs\n- Updated DOI lookup test to validate real responses\n- Added comprehensive rate limiting validation\n- Enhanced error handling tests with real error cases Co-Authored-By: Erkin Alp Güney <[email protected]>
erkinalp
changed the title
test: Update integration tests to work without API keys
test: Update integration tests to use real APIs
Dec 20, 2024
…refresh Co-Authored-By: Erkin Alp Güney <[email protected]>
Co-Authored-By: Erkin Alp Güney <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Citation System Integration Test Improvements
Updates integration tests to properly validate citation system functionality:
Key Changes
Testing Strategy
The tests now verify actual system behavior rather than using mocks:
Implementation Details
Link to Devin run: https://app.devin.ai/sessions/c75521a812964cdb852d794c4797fba4