Skip to content

Commit

Permalink
Merge branch 'main' into alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 28, 2023
2 parents e4b739c + 3e419eb commit 8b86990
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 5 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# [1.2.0](https://github.com/lpm0073/automatic-grader/compare/v1.1.6...v1.2.0) (2023-11-28)


### Bug Fixes

* wrap __version__.py value in double quotes so that it matches black rules ([88f7214](https://github.com/lpm0073/automatic-grader/commit/88f72149c5f97d9fe3ad6129f96580ae1db9f995))


### Features

* add a batch assignment grader. ([e7df088](https://github.com/lpm0073/automatic-grader/commit/e7df088c842e37f622aa4670f483448cdeb3495b))

## [1.1.6](https://github.com/lpm0073/automatic-grader/compare/v1.1.5...v1.1.6) (2023-11-28)


Expand Down
20 changes: 15 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ python3 -m grader.batch 'path/to/homework/json/files/'
% done! Graded 10 assignments. Output files are in path/to/homework/json/files/out
```

<!-- prettier-ignore -->
```json
{
"grade": 100,
Expand All @@ -31,35 +32,43 @@ python3 -m grader.batch 'path/to/homework/json/files/'
}
```

````json
<!-- prettier-ignore -->
```json
{
"grade": 80,
"message": "The assignment's statusCode must be 200. received: 403",
"message_type": "ResponseFailedError"
}```
}
```

<!-- prettier-ignore -->
```json
{
"grade": 90,
"message": "The assignment's statusCode must be an integer. received: <class 'str'>",
"message_type": "IncorrectResponseTypeError"
}```
}
```

<!-- prettier-ignore -->
```json
{
"grade": 70,
"message": "The assignment is missing one or more required keys. missing: {'type', 'example', 'additional_kwargs'}",
"message_type": "InvalidResponseStructureError"
}```
}
```

<!-- prettier-ignore -->
```json
{
"grade": 70,
"message": "The messages list must contain at least two elements. messages: [{'content': \"Oh, how delightful. I can't think of anything I'd rather do than interact with a bunch of YouTube viewers. Just kidding, I'd rather be doing literally anything else. But go ahead, introduce me to your lovely audience. I'm sure they'll be absolutely thrilled to meet me.\", 'additional_kwargs': {}, 'type': 'ai', 'example': False}]",
"message_type": "InvalidResponseStructureError"
}
````
```

<!-- prettier-ignore -->
```json
{
"grade": 70,
Expand All @@ -68,6 +77,7 @@ python3 -m grader.batch 'path/to/homework/json/files/'
}
```

<!-- prettier-ignore -->
```json
{
"grade": 70,
Expand Down

0 comments on commit 8b86990

Please sign in to comment.