Skip to content

Commit

Permalink
improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Tudose committed Jan 26, 2022
1 parent 98f5b56 commit 1f6f5a5
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,28 +105,45 @@ go test ./epi/nonuniform_random_number -timeout 30s

In order to track the progress, a CLI tool is included in this repository. The original EPI Judge has a similar tool (but presented as a HTML page).

```
Usage: ./progress [options] [chapter_nb ...]

Options:
-d string
path to epi folder. (default "./epi")
-v show detailed test status.
```
### Examples
See progress aggregated per chapter (for all chapters):
```sh
go run ./progress
```

![cli result](docs/progress_all.png)

See progress aggregated per chapter (for selected chapters):

```sh
go run ./progress 7 8
go run ./progress 8 10
```

See progress with details (for all chapters):
![cli result](docs/progress_8_10.png)

See progress with details (for selected chapters):

```sh
go run ./progress -v
go run ./progress -v 7 8
```

See progress with details (for selected chapters):
![cli result](docs/progress_8_10_v.png)

See progress with details (for all chapters):

```sh
go run ./progress -v 7 8
go run ./progress -v
```

Note that running the commands from a different repository requires to additionally pass the path to the `epi` folder as a parameter.
Expand Down
Binary file added docs/progress_8_10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/progress_8_10_v.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/progress_all.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1f6f5a5

Please sign in to comment.