You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,20 @@ We appreciate your contributions!
11
11
## Modifying and Running Code
12
12
1. Make changes in `operate/main.py`
13
13
2. Run `pip install .` again
14
-
3. Run `operate` to test your changes
14
+
3. Run `operate` to see your changes
15
+
16
+
## Testing Changes
17
+
**After making significant changes, it's important to verify that SOC can still successfully perform a set of common test cases.**
18
+
In the root directory of the project, run:
19
+
```
20
+
python3 evaluate.py
21
+
```
22
+
This will automatically prompt `operate` to perform several simple objectives.
23
+
Upon completion of each objective, GPT-4v will give an evaluation and determine if the objective was successfully reached.
24
+
25
+
`evaluate.py` will print out if each test case `[PASSED]` or `[FAILED]`. In addition, a justification will be given on why the pass/fail was given.
26
+
27
+
It is **strongly** recommended that a screenshot of the `evaluate.py` output is included in any PR which could impact the performance of SOC.
15
28
16
29
## Contribution Ideas
17
30
-**Improve performance by finding optimal screenshot grid**: A primary element of the framework is that it overlays a percentage grid on the screenshot which GPT-4v uses to estimate click locations. If someone is able to find the optimal grid and some evaluation metrics to confirm it is an improvement on the current method then we will merge that PR.
0 commit comments