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
First, make sure that you have the latest version of `Repobee` installed,
66
+
instructions can be found on the [Repobee website](https://repobee.org/).
67
+
68
+
To install `repobee-csvgrades`, simply run the command `repobee plugin install`, and this will open up a bullet-list where you can select csvgrades.
68
69
69
-
Eventually, `repobee-csvgrades` will be moved to PyPi so you can just `pip
70
-
install` it like any other package.
70
+
> If `repobee-csvgrades` does not show up when running the `grades record` command. Run `repobee plugin list`, this will present a list with all the availiable plugins. If you cannot find `repobee-csvgrades` in the list, try updating `repobee` using repobee `repobee manage upgrade`.
71
71
72
72
## Usage
73
73
`repobee-csvgrades` is easy to use and highly customizable. First of all, you
@@ -80,7 +80,7 @@ don't miss the fact that you can configure all options in the
80
80
81
81
### The grade specification (`--grade-specs` option)
82
82
The grade specification (or _grade spec_) is the most important part of this
83
-
plugin. Grade specs tell the `record-grades` command which issues to consider as
83
+
plugin. Grade specs tell the `grades record` command which issues to consider as
84
84
grading issues, and which grading issues outweigh others if several are found. A
85
85
typical grade spec looks like this: `1:P:[Pp]ass`. There are three parts to the
86
86
grade spec, delimited by `:`. First is the priority. A lower priority outweighs
@@ -98,14 +98,14 @@ Grade specs are specified by the `--grade-specs` option. Example:
98
98
```
99
99
100
100
### The hook results file (`--hook-results-file` option)
101
-
`record-grades` operates on a file with a JSON database produced by the
102
-
`list-issues` command (one of RepoBee's core commands). The file is produced by
103
-
supplying the `--hook-results-file FILEPATH` option to `list-issues`. You
104
-
should additionally supply `list-issues` with the `--all` flag, to get both open
101
+
`grades record` operates on a file with a JSON database produced by the
102
+
`issues list` command (one of RepoBee's core commands). The file is produced by
103
+
supplying the `--hook-results-file FILEPATH` option to `issues list`. You
104
+
should additionally supply `issues list` with the `--all` flag, to get both open
105
105
and closed issues (so as to avoid missing grading issues). If you try to use
106
-
`record-grades` with a hook results file that's been produced without the
106
+
`grades record` with a hook results file that's been produced without the
107
107
`--all` flag, it will exit with an error. If you really want to run with that
108
-
file, you can supply the `--allow-other-states` flag to `record-grades`, which
108
+
file, you can supply the `--allow-other-states` flag to `grades record`, which
109
109
disregards how the hook results were collected.
110
110
111
111
The hook results file is specified by the `--hook-results-file` option. Example:
@@ -115,7 +115,7 @@ The hook results file is specified by the `--hook-results-file` option. Example:
115
115
```
116
116
117
117
### The grades file (`--grades-file` option)
118
-
`record-grades` writes grades to a CSV file that we refer to as the _grades
118
+
`grades record` writes grades to a CSV file that we refer to as the _grades
119
119
file_. Each row represents one student, except for the first row which is a
120
120
header row. The following requirements are placed on the CSV file format:
121
121
@@ -127,7 +127,7 @@ header row. The following requirements are placed on the CSV file format:
127
127
must exactly match the master repo's name
128
128
129
129
Below is an example grades file that has been partially filled in by the
130
-
`record-grades` command. As it is a CSV file, it is rendered very nicely on
130
+
`grades record` command. As it is a CSV file, it is rendered very nicely on
131
131
GitHub (see for example [this test file](/tests/expected_grades.csv)), and it
132
132
is strongly recommended that you keep this file in version control.
133
133
@@ -141,15 +141,15 @@ is strongly recommended that you keep this file in version control.
141
141
There are a few additional things to keep in mind with the grades file.
142
142
143
143
* You should not manually edit the file with grade symbols for which there are
144
-
no grade specifications, as this may cause `record-grades` to exit because it
144
+
no grade specifications, as this may cause `grades record` to exit because it
145
145
can't find a priority for the grade.
146
146
* You can't have a task called `username`.
147
147
* You can't have duplicate column headers.
148
-
* You **can** have any additional columns that you want. `record-grades` will
148
+
* You **can** have any additional columns that you want. `grades record` will
149
149
only look at the `username` column, and the columns corresponding to the
150
150
master repo names that you specify when calling the command. Additional
151
151
columns will simply not be inspected.
152
-
*`record-grades` formats the diff file such that every cell of the same column
152
+
*`grades record` formats the diff file such that every cell of the same column
153
153
has the same width, which makes diffs easy to inspect.
154
154
- Because of this formatting, it is recommended to keep grade spec symbols
155
155
shorter than the master repo names, to avoid resizing of columns when grades
@@ -162,7 +162,7 @@ The grades file is specified by the `--grades-file` option. Example:
162
162
```
163
163
164
164
### The edit message file (`--edit-msg-file` option)
165
-
Each time you run `record-grades`, a file is produced specifying what new grades
165
+
Each time you run `grades record`, a file is produced specifying what new grades
166
166
were recorded, and tags the teachers who opened the grading issues. The
167
167
intention is that this edit message should be used as a Git commit message. For
168
168
example, if `slarse` has teacher `ta_a`, and `glassey` has teacher `ta_b`, and
@@ -192,7 +192,7 @@ option. Example:
192
192
```
193
193
194
194
### Authorized teachers (`--teachers` option)
195
-
The `record-grades` command requires you to specify a set of teachers that are
195
+
The `grades record` command requires you to specify a set of teachers that are
196
196
authorized to open grading issues. This is to avoid having students trick the
197
197
system. If an grading issue by an unauthorized user is found, a warning is
198
198
emitted. This is both to alert the user about potential attempts at foul play,
0 commit comments