-
Notifications
You must be signed in to change notification settings - Fork 428
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 context agent #3491
Comments
🚀 Here's the PR! #3492See Sweep's progress at the progress dashboard! 💎 Sweep Pro: I'm using GPT-4. You have unlimited GPT-4 tickets. (tracking ID:
837f29da22 )Tip I can email you next time I complete a pull request if you set up your email here! Actions (click)
Step 1: 🔎 SearchingI found the following snippets in your repository. I will now analyze these snippets and come up with a plan. Some code snippets I think are relevant in decreasing order of relevance (click to expand). If some file is missing from here, you can mention the path in the ticket description.Lines 1 to 11 in 87ad43d
sweep/sweepai/utils/multi_query.py Lines 1 to 102 in 87ad43d
sweep/sweepai/core/context_pruning.py Lines 946 to 1060 in 87ad43d
Lines 50 to 63 in 87ad43d
sweep/sweepai/handlers/create_pr.py Lines 357 to 455 in 87ad43d
sweep/sweepai/core/reflection_utils.py Lines 1 to 174 in 87ad43d
Lines 629 to 1084 in 87ad43d
sweep/sweepai/agents/assistant_function_modify.py Lines 1 to 308 in 87ad43d
sweep/sweepai/utils/openai_listwise_reranker.py Lines 381 to 484 in 87ad43d
sweep/sweepai/utils/progress.py Lines 1 to 283 in 87ad43d
sweep/docs/pages/blogs/ai-unit-tests.mdx Lines 1 to 50 in 87ad43d
sweep/platform/cypress/support/e2e.ts Lines 1 to 19 in 87ad43d
sweep/sweepai/utils/convert_openai_anthropic.py Lines 1 to 128 in 87ad43d
Step 2: ⌨️ CodingCreate tests/test_context_pruning.py with contents: ❌ Unable to modify files in `tests` Edit `sweep.yaml` to configure. Modify sweepai/core/context_pruning.py with contents: At the end of the file, add a `if __name__ == "__main__":` block with: Step 3: 🔁 Code ReviewI have finished reviewing the code for completeness. I did not find errors for 🎉 Latest improvements to Sweep:
💡 To recreate the pull request edit the issue title or description. This is an automated message generated by Sweep AI. |
we use pytest\n\nrepo: sweepai/sweep
Checklist
tests/test_context_pruning.py
✗ 522afed Editsweepai/core/context_pruning.py
✓ 522afed EditThe text was updated successfully, but these errors were encountered: