-
Notifications
You must be signed in to change notification settings - Fork 43.7k
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
Regression Test: Auto-GPT should always be able to build this simple contact form #3901
Comments
should be fairly doable, just ask GPT to generate a set of unit tests in Python for the project (adapt the specs as needed to provide sufficient info for the tests, i.e. remove the last phrase in the yaml file, and for testing purposes, just make the backend in python):
Likewise for the backend. If in doubt, create a set of unit tests that fire up a Python HTTPServer instance to actually "test" the website that way (again, I believe Selenium would be overkill) @merwanehamadi apparently you misattributed this to the wrong person, it was posted by @adam-paterson in the other issue - and I am sure we can rework the project specs to use a Python back-end for unit testing purposes (even though Python seems to have CGIHTTPServer module that does serve Php CGIs) |
yeah probably easier to do in python. |
Seems you can assign that to @adam-paterson and myself, as per: #2775 (comment) Draft at: https://gist.github.com/Boostrix/7111a99b6d890b920a6cf9f5c160ece7
|
@Boostrix I think adam needs to participate to the conversation for me to be able to assign him. Do you know how to write challenges ? A challenge is just a pytest test. In this case the challenge will be a regression test, meaning it's already working. |
understood, I think at least for starters, we're going to tinker around with adapting project.txt (its specs) to also produce the required pytest stubs based on the deliverables and specs and then take it from there. Obviously, this would require some stubs to actually run auto-gpt as part of pytest, to get an agent to process a custom ai_settings.yaml file and then open project.txt to generate the project. If you can provide us with pointers, it would obviously help enormously, to get a handle to the number of steps taken (at least thinking steps) |
@Boostrix yeah the challenges are all written in |
This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days. |
This issue was closed automatically because it has been stale for 10 days with no activity. |
We need your help to build an ambitious regression test.
As suggested by @Boostrix, one of the tasks Auto-GPT is able to perform right now is building a simple contact form:
#2775 (comment)
STEP 1: Create the same set of instructions and run this agent in a test.
STEP 2: Test whether the website is working (not easy)
@Adam-Peterson has created a php website using these instructions.
projects.txt
The text was updated successfully, but these errors were encountered: