AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

Pass "Information Retrieval Challenge A"

Open gtsop-d opened this issue 2 years ago • 4 comments

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

gtsop-d avatar May 10 '23 08:05 gtsop-d

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

vercel[bot] avatar May 10 '23 08:05 vercel[bot]

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

github-actions[bot] avatar May 10 '23 08:05 github-actions[bot]

@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.

waynehamadi avatar May 11 '23 18:05 waynehamadi

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

github-actions[bot] avatar May 16 '23 03:05 github-actions[bot]

This seems to be fixed already in another merged PR. Thanks for submitting!

Pwuts avatar Jun 14 '23 16:06 Pwuts