zch-cc e5a28cba2f Evaluation: Fix bug on python path on run.sh (#98) 2 ani în urmă
..
cases cfefc47439 Move regression tests to evaluation/ (#86) 2 ani în urmă
.gitignore cfefc47439 Move regression tests to evaluation/ (#86) 2 ani în urmă
README.md e5a28cba2f Evaluation: Fix bug on python path on run.sh (#98) 2 ani în urmă
run.sh e5a28cba2f Evaluation: Fix bug on python path on run.sh (#98) 2 ani în urmă

README.md

Regression Tests

These files demonstrate how OpenDevin currently handles certain scenarios.

To add a new regression case:

name="hello-script"

# The start directory contains the initial state of the project the agent will work on
# Add any files you'd like here.
mkdir -p ./agent/regression/cases/$name/start

# task.txt contains the task to be accomplished
echo "write a hello world script" >> ./agent/regression/cases/$name/task.txt

# Single out your test case using the TEST_CASE environment variable
TEST_CASE=$name ./agent/regression/run.sh

To add agent to regreesion test:

add agent pair to directory_class_pairs variable in run.sh 
key is the directory name in /agenthub and value is the class name 

To run regresion test:

./run.sh and enter DEBUG, OPENAI_API_KEY and Model name in the prompt.