Stograde

Latest version: v4.4.1

Safety actively analyzes 629678 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

4.0.2

- 197 - Fix issue with `.stogradeignore` files not being read

4.0.1

- 196 - Fix incomplete migration of CI functionality

4.0.0

- 186 Refactor code base to use dataclasses instead of arbitrary dicts (182)
- 190 Change how the toolkit is called, now with subcommands (187)
- 189 & 192 Add detailed documentation to the toolkit in a `docs/` directory
- 194 Target python 3.8

3.2.0

3.0.1

- Fix bug in StoGit URL calculation if data directory exists but a student's repo has not been cloned before
- Disable CI failing for labs because they span across multiple homeworks and can mask issues with the homeworks

3.0.0

https://github.com/StoDevX/stograde/pull/174 – add a new version of the SD server

https://github.com/StoDevX/stograde/pull/173:

> Allow yaml files to be specified in a new format that improves readability. Instead of using a single array to hold all information for a file or test, split parts into `file`, `commands`, `options`, like they are in the cached json.
This new format is activated by adding `spec_version: 3` to the spec. This may make specs longer, but makes them easier to understand for those new to creating specs.

Example usage:
yaml
---
assignment: hw1

compilers:
- &cpp 'g++ --std=c++11 $ -o $.exec'
- &server 'g++ --std=c++11 $ $SERVER'

files:
- [ hello.cpp, *server, web: true ]
- [ hw1_questions.txt ]
- [ Makefile ]
- [ Dog.h ]
- [ Dog.cpp ]
- - tryDog.cpp
- rm -f tryDog tryDog.o Dog.o
- make

tests:
- [ tryDog.cpp, ./tryDog ]

inputs:
- prelude
- postlude
- sd_fun.h


becomes

yaml
---
spec_version: 3

assignment: hw1

compilers:
- &cpp 'g++ --std=c++11 $ -o $.exec'
- &server 'g++ --std=c++11 $ $SERVER'

files:
- file: hello.cpp
commands: *server
options:
web: true
- file: hw1_questions.txt
- file: Makefile
- file: Dog.h
- file: Dog.cpp
- file: tryDog.cpp
commands:
- rm -f trydog trydog.o Dog.o
- make

tests:
- file: tryDog.cpp
commands: ./tryDog

inputs:
- prelude
- postlude
- sd_fun.h

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.