Skip to content

Commit

Permalink
Integrate AI feedback for tests results (#248)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Despina Adamopoulou <[email protected]>
Co-authored-by: Snowwpanda <[email protected]>
  • Loading branch information
4 people authored Nov 25, 2024
1 parent 04ab64c commit caf4594
Show file tree
Hide file tree
Showing 8 changed files with 1,448 additions and 240 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ venv/
ENV/
env.bak/
venv.bak/
openai.env

# Spyder project settings
.spyderproject
Expand Down
4 changes: 4 additions & 0 deletions binder/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ dependencies:
- scikit-learn
- attrs
- multiprocess
- openai
- tenacity
- markdown2
- python-dotenv
4 changes: 2 additions & 2 deletions intro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@
"%%ipytest\n",
"\n",
"def solution_sum_two_numbers(a: int, b: int) -> int:\n",
" wrong_sum = a - b\n",
" wrong_sum = a - b -\n",
" return wrong_sum"
]
},
Expand Down Expand Up @@ -469,7 +469,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.3"
"version": "3.10.15"
},
"vscode": {
"interpreter": {
Expand Down
3 changes: 3 additions & 0 deletions openai.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
OPENAI_API_KEY="sk-**********" # your OpenAI API key
OPENAI_MODEL="gpt-4o-mini" # the model you want to use
OPENAI_LANGUAGE="English" # the language you want to use
Loading

0 comments on commit caf4594

Please sign in to comment.