Swiddis / word-debt-bot

A Discord bot for running a little reading game.
MIT License
2 stars 2 forks source link

Journal replay script #26

Closed Swiddis closed 4 months ago

Swiddis commented 6 months ago

WIP -- Waiting for #24 to work from existing game state.

Script takes two journals (one automatic and one with manual edits), merges them, and will apply the journal steps in order to recover correct game state.

codecov-commenter commented 6 months ago

Codecov Report

Attention: Patch coverage is 90.00000% with 24 lines in your changes are missing coverage. Please review.

Project coverage is 92.17%. Comparing base (f21ccbd) to head (a24b8cf). Report is 84 commits behind head on dev.

Files Patch % Lines
src/word_debt_bot/cogs/game_commands.py 91.81% 9 Missing :warning:
src/word_debt_bot/main.py 62.50% 6 Missing :warning:
src/word_debt_bot/game/core.py 92.95% 5 Missing :warning:
src/word_debt_bot/cogs/cmd_err_handler.py 86.66% 4 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #26 +/- ## ========================================== + Coverage 82.77% 92.17% +9.40% ========================================== Files 8 10 +2 Lines 180 358 +178 ========================================== + Hits 149 330 +181 + Misses 31 28 -3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Swiddis commented 4 months ago

Closing as abandoned, going to try another approach with integrating a journal class directly in the code.