Given as input an issue description and the files in a Python repo, return as output a selected subset of relevant regression tests existing in the repo.
This is an approach to select regression tests to assist the process of solving software development problems.
git clone https://github.ibm.com/tfahmed/Regression-Test-Selection cd Regression-Test-Selection python3.11 -m venv selection_venv source selection_venv/bin/activate pip install -r requirements.txt
export OPENAI_API_KEY={Your_Key} export MODEL_SERVING_URL={Base_URL} # URL of the model serving endpoint
bash -x src/get_suspicious_funcs.sh [dataset] [model] [log_dir]
After the script completes, you can find:
log_dir
.$log_dir/${model}_results
(each as a JSON
file).$log_dir/${model}_combined.json
.python3 minimization.py [suspicious_func_json] [result_json]
[suspicious_func_json]
should be the $log_dir/${model}_combined.json
file generated in the previous step.[result_json]
is the output path where you want to save the minimized results. Each entry in the output JSON will correspond to an instance_id
, with the selected regression tests listed as its value.RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4