Commit Graph

9 Commits

Author SHA1 Message Date
maurane a52149b064 🐛fix(classifier): add missing patterns
add VTA_AT_0 and CLOTHES_SIZE_NOT_FOUND
2026-09-11 16:06:06 +02:00
maurane 44442dbc46 🐛fix(classifier): fix missing patterns
add patterns for errors CLOTHES_SIZE_RANGE_BL, STORE_CODE_NOT_FOUND, VTA_NOT_FOUND and replace CLOTHES_SIZE_RANGE_OUT_OF_BOUND by CLOTHES_SIZE_RANGE_BL, add fixtures to tests these new values, order patterns
2026-09-10 17:34:28 +02:00
maurane 5a93d0d67b 🐛fix(classifier): remove store code error pattern
remove store code error, its related fixture (`CR_store_code_not_found`) and mentionned in fixtures `only_relevant_logs.txt` and `specific_logs.txt`
2026-09-02 18:21:25 +02:00
maurane 9c06222f37 ✅test(reporter): add tests for reporter module
add tests, reformat code, add an output variable in writing function. All reading and writing functions must read in windows-1252 encoding because original logs are windows-1252 encoded
2026-08-27 17:34:22 +02:00
maurane 23afe3f185 feat(classifier): ✨ add classifier feature on log entries
add classifier on log entries, clean test functions and uniform fixtures in windows-1252 since all logs are encoded in windows-1252
2026-08-26 11:34:54 +02:00
maurane 476b69d26f test(classifier): ✅ add test on n2 patterns 2026-08-07 17:27:37 +02:00
maurane 19ff504890 feat: ✨ add main log patterns 2026-08-07 14:06:43 +02:00
maurane 83867c585c feat(parser): ✨ add parse_log_file and simplify LogEntry model
`parse_log_file()` use `parse_log_line()` to transform a log file into a list of LogEntry. Log patterns are no use for LogEntry model since the only use of LogEntry is in other modules. Thus, log patterns are now in `parser.py`. Logs are now separated based on test use cases.
2026-08-04 11:31:37 +02:00
maurane 10602be7a3 feat(log_entry): add model and tests 2026-08-03 13:30:03 +02:00