proschi 0.4.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -13,6 +13,8 @@ proschi fmt docs/ # format files in place (--check: only repor
13
13
  proschi render checkout.proschi --out diagrams # SVG diagrams (also --format md|html|hld-md|hld-html)
14
14
  proschi test docs/ # run requirements and tests (exit 1 on a failure)
15
15
  proschi analyze shortener.proschi # load, latency, availability and cost per node
16
+ proschi problem check # validate practice problem folders (see docs/PRACTICE.md)
17
+ proschi problem new seat-map # scaffold a practice problem
16
18
  proschi-language-server --stdio # for any editor with an LSP client
17
19
  ```
18
20
 
@@ -33,6 +35,13 @@ server reports failing requirements and tests as warnings and adds load to
33
35
  node hovers. The model and its default numbers:
34
36
  [Simulation and tests](https://github.com/gvart/proschi/blob/main/docs/EDITORS.md#simulation-and-tests).
35
37
 
38
+ `problem check [--format text|github|json] [dir]` validates the practice
39
+ problems, one folder each (front matter, given, starter, reference solution
40
+ and the `wrong/` designs that must fail), with the same rules as the practice
41
+ page's test suite; `problem new <id> [--dir <dir>]` scaffolds one. Inside the
42
+ repository both default to `frontend/src/practice/problems`. The format and
43
+ the rules: [docs/PRACTICE.md](https://github.com/gvart/proschi/blob/main/docs/PRACTICE.md).
44
+
36
45
  ## Rendering
37
46
 
38
47
  ```