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: README.md
+12-6Lines changed: 12 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,9 @@
1
+
### Updates
2
+
#### Sep 28, 2024:
3
+
If you want to use agent with the OpenAI o1 models, please run these installation commands to update packages ``pip install git+https://github.com/wenting-zhao/aider.git``.
4
+
5
+
---
6
+
1
7
# Commit0
2
8
3
9
<ahref="https://commit-0.github.io/">Commit0</a> is a from scratch AI coding challenge. Can you create a library from commit 0?
@@ -48,7 +54,7 @@ Available options include:
48
54
|`--dataset-name`| str | Name of the Huggingface dataset |`wentingzhao/commit0_combined`|
49
55
|`--dataset-split`| str | Split of the Huggingface dataset |`test`|
50
56
|`--base-dir`| str | Base directory to clone repos to |`repos/`|
51
-
|`--commit0-dot-file-path`| str | Storing path for stateful commit0 configs |`.commit0.yaml`|
57
+
|`--commit0-config-file`| str | Storing path for stateful commit0 configs |`.commit0.yaml`|
52
58
53
59
### Build
54
60
@@ -58,7 +64,7 @@ Available options include:
58
64
| Argument | Type | Description | Default |
59
65
|----------|------|-------------|---------|
60
66
|`--num-workers`| int | Number of workers |`8`|
61
-
|`--commit0-dot-file-path`| str | Path to the commit0 dot file |`.commit0.yaml`|
67
+
|`--commit0-config-file`| str | Path to the commit0 dot file |`.commit0.yaml`|
62
68
|`--verbose`| int | Verbosity level (1 or 2) |`1`|
63
69
64
70
### Get Tests
@@ -85,7 +91,7 @@ Available options include:
85
91
|`--reference`| bool | Test the reference commit |`False`|
86
92
|`--coverage`| bool | Get coverage information |`False`|
87
93
|`--rebuild`| bool | Rebuild an image |`False`|
88
-
|`--commit0-dot-file-path`| str | Path to the commit0 dot file |`.commit0.yaml`|
94
+
|`--commit0-config-file`| str | Path to the commit0 dot file |`.commit0.yaml`|
89
95
|`--verbose`| int | Verbosity level (1 or 2) |`1`|
90
96
|`--stdin`| bool | Read test names from stdin |`False`|
91
97
@@ -103,7 +109,7 @@ Available options include:
103
109
|`--num-workers`| int | Number of workers to use |`8`|
104
110
|`--reference`| bool | Evaluate the reference commit |`False`|
105
111
|`--coverage`| bool | Get coverage information |`False`|
106
-
|`--commit0-dot-file-path`| str | Path to the commit0 dot file |`.commit0.yaml`|
112
+
|`--commit0-config-file`| str | Path to the commit0 dot file |`.commit0.yaml`|
107
113
|`--rebuild`| bool | Rebuild images |`False`|
108
114
109
115
### Lint
@@ -115,7 +121,7 @@ Available options include:
115
121
|----------|------|-------------|---------|
116
122
|`repo_or_repo_dir`| str | Directory of the repository to test ||
117
123
|`--files`| List[Path]| Files to lint (optional) ||
118
-
|`--commit0-dot-file-path`| str | Path to the commit0 dot file |`.commit0.yaml`|
124
+
|`--commit0-config-file`| str | Path to the commit0 dot file |`.commit0.yaml`|
119
125
|`--verbose`| int | Verbosity level (1 or 2) |`1`|
120
126
121
127
### Save
@@ -128,7 +134,7 @@ Available options include:
128
134
|`owner`| str | Owner of the repository ||
129
135
|`branch`| str | Branch to save ||
130
136
|`--github-token`| str | GitHub token for authentication ||
131
-
|`--commit0-dot-file-path`| str | Path to the commit0 dot file |`.commit0.yaml`|
137
+
|`--commit0-config-file`| str | Path to the commit0 dot file |`.commit0.yaml`|
Copy file name to clipboardExpand all lines: agent/README.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,8 @@ Available options include:
38
38
`--max-lint-info-length: int`: Maximum length of the lint information to use. [Default: `10000`]
39
39
`--pre-commit-config-path: str`: Path to the pre-commit config file. This is needed for running `lint`. [Default: `.pre-commit-config.yaml`]
40
40
`--agent-config-file: str`: Path to write the agent config. [Default: `.agent.yaml`]
41
+
`--add-import-module-to-context: bool`: Add import module to context. [Default: `False`]
42
+
`--record-test-for-each-commit: bool`: Record test results for each commit. [Default: `False`], if set to `True`, the test results will be saved in `experiment_log_dir/eval_results.json`
41
43
42
44
## Running Agent
43
45
Use `agent run [OPTIONS] BRANCH` to execute an agent on a specific branch.
0 commit comments