64kramsystem / 64kramsystem/schedule_manager
Incorrect definition generated in a case when work has no start, but the next same-level entry has a time
- Lingua principale
- Ruby
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
This genereates an invalid definition (`-13:00`), instead of raising an error:
```
* 10:00. blah
- work
* 11:30. blah
- blah
- blah
* 12:30. blah
-----
- 13:00. blah
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Look at the schedule parsing logic, likely in a file like lib/schedule_manager/parser.rb. The issue shows a schedule snippet where a work entry without a start time precedes a same-level entry with a time, causing an invalid definition '-13:00'. Find where durations or definitions are computed and add validation to raise an error instead. Run existing tests to ensure the fix doesn't break valid cases.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- ruby
- Ambito
- cli, tooling
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 65/100