Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #10 from emrgnt-cmplxty/feature/add-leet-code
Browse files Browse the repository at this point in the history
Feature/add leet code
  • Loading branch information
emrgnt-cmplxty authored Aug 24, 2023
2 parents 6240d63 + 4041065 commit dcc51b5
Show file tree
Hide file tree
Showing 7 changed files with 178,112 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[flake8]
ignore = E501, W503, E203, F541, W293, W291
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.csv linguist-generated=true
*.json linguist-generated=true
*.jsonl linguist-generated=true
*.ipynb linguist-generated=true
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
**/__pycache__/**
# Local cruft and other
.env
*.bak
**/__pycache__/**

# Local sandbox environments
playground/
26 changes: 26 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
repos:
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.1.1
hooks:
- id: mypy
additional_dependencies: [types-requests, types-attrs]
- repo: https://github.com/google/yapf
rev: v0.31.0
hooks:
- id: yapf
args: [--style, google]
- repo: https://github.com/psf/black
rev: 23.1.0
hooks:
- id: black
language_version: python3.10 # Replace with your Python version
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
- id: flake8
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
language_version: python3.10

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ poetry run python runner.py --provider openai --dataset human-eval --model gpt-4
|----------------------------------|----------------------|----------------------|------------------|------------------------------------------------------------------------|
| HumanEval | 87.2 | 84.1 | 67 | [1] |
| EvalPlus | 79.2 | 74.4 | N/A | |
| GSM8K | X | X | 87.1 | |
| Leetcode Easy | X | X | 72.2-75.6 | [1,2] |
| Leetcode Medium | X | X | 26.2-38.7 | [1,2] |
| Leetcode Hard | X | X | 6.7-7 | [1,2] |
Expand Down
Loading

0 comments on commit dcc51b5

Please sign in to comment.