qbreader / website

A text-based quizbowl packet reader with support for both single- and multi-player.
https://www.qbreader.org
MIT License
39 stars 20 forks source link

[Draft - Likely Needs Work] Leniency Checker #315

Closed Captain-Quack closed 1 month ago

Captain-Quack commented 2 months ago

This depends on the following pull request to be approved: https://github.com/qbreader/qb-answer-checker/pull/8

This attempts to create a slider that adjusts how strict the answer checker is, such that a leniency value of $n$ allows 1 mistake every $n$ characters.

This is my first time working with the nitty gritty parts of the repo (rather then just adding, like the testing), so some extra eyes would be much appreciated.

geoffrey-wu commented 1 month ago

Oops this pull request was made before I refactored the singleplayer/multiplayer code and the conflict resolution is gonna be kind of complicated so i'm going to make a new branch and copy over the changes

geoffrey-wu commented 1 month ago

renamed parameter from leniency to strictness because higher values correspond to more strict answer checking