mirror of
https://github.com/RustyRaptor/mealman.git
synced 2026-12-03 20:45:15 -07:00
docs: replace the vague status note with the failures that actually reproduce
This commit is contained in:
1 parent
62ff8a494f
commit
f009d685d6
1 file changed
+14
-3
@@ -65,9 +65,20 @@ end of a terminal.
|
||||
|
||||
## Status
|
||||
|
||||
Written in 2022 and not maintained. `ifequal`-style edge cases are not handled beyond the format checks above, and
|
||||
there are no tests — if I rewrote it, the parsing would be a small library with tests, and the GUI would read that
|
||||
instead of shelling out.
|
||||
Written in 2022 and not maintained. There are no tests, and the error paths are thin. Checked against the current
|
||||
code on 2026-12-01, these all fail:
|
||||
|
||||
| Input | Result |
|
||||
| --- | --- |
|
||||
| no argument | `NameError: mealplan_path is not defined` (the bare `except` prints a message, then execution continues) |
|
||||
| a food missing from `calorieslist.csv` | `KeyError` traceback |
|
||||
| allowance of `0` | `ZeroDivisionError` in the progress bar |
|
||||
| a blank line in the plan | `IndexError: list index out of range` |
|
||||
| a malformed allowance row | prints a message and exits with status **0**, so a script cannot tell it failed |
|
||||
| plan above the allowance | progress bar silently renders empty instead of showing the overshoot |
|
||||
|
||||
If I rewrote it, the parsing would be a small library with table-driven tests and the GUI would import it instead of
|
||||
shelling out to the CLI and re-parsing its printed output.
|
||||
|
||||
## Licence
|
||||
|
||||
|
||||
Reference in new issue
Block a user