Pass "Information Retrieval Challenge A"
Background
Went on to tackle the information retrieval challenge A as documented here: https://docs.agpt.co/challenges/information_retrieval/challenge_a/
Changes
All it took was some tweaking in the agent goal and it's input sequence. The resulting code consecutively passed the challenge more than 10 times.
Documentation
Test Plan
I tested the functionality by running the command given in the documentation:
pytest -s tests/integration/challenges/information_retrieval/test_information_retrieval_challenge_a.py
In order to test multiple times I changed the run_multiple_times test decorator to 3, 4, 10. It passed all the times.
PR Quality Checklist
- [x] My pull request is atomic and focuses on a single change.
- [x] I have thoroughly tested my changes with multiple different prompts.
- [x] I have considered potential risks and mitigations for my changes.
- [ ] I have documented my changes clearly and comprehensively.
- [x] I have not snuck in any "extra" small tweaks changes
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| docs | ⬜️ Ignored (Inspect) | May 10, 2023 8:25am |
This PR exceeds the recommended size of 200 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size
@gtsop-d unfortunately I can't reproduce this challenge being beaten reliably.
Steps I followed:
- deleted cassette
- ran pytest -s tests/integration/challenges/information_retrieval/test_information_retrieval_challenge_a.py here is the full recording of the agent. You can see every cycle and what step it took.
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.
This seems to be fixed already in another merged PR. Thanks for submitting!