ChatGPT rewrite
Create Evaluate ChatGPT rewrite
What does this PR do?
Refactor the Code Structure: I’ll organize the code into functions to improve readability and maintainability. Create separate functions for loading the screenshot, evaluating it, and running test cases. Error Handling: I’ll add proper error handling to handle cases where the screenshot cannot be opened or evaluated. Comments and Documentation: I’ll add comments to explain each section of the code. Provide clear documentation for each function. Simplify the Evaluation Prompt: The evaluation prompt can be simplified to make it more concise and easier to understand.
Fixes # (issue)
Requirement/Documentation
- If there is a requirement document, please, share it here.
Type of change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] Chore (refactoring code, technical debt, workflow improvements)
Mandatory Tasks
- [ ] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected. Make sure before submmiting this PR you run tests with evaluate.py
I am new to this, just trying to contribite! Please advise!