anki/pylib/tests
Damien Elmes 97300a16bf implement fuzzing
Notes:

- The fuzz seed is now derived from the card id and # of reps, so
if a card is undone and done again, the same fuzz will be used.
- The intervals shown on the answer buttons now include the fuzz, instead
of hiding it from the user. This will prevent questions about due dates
being different to what was shown on the buttons, but will create
questions about due dates being different for cards with the same
interval, and some people may find it distracting for learning cards.
The new approach is easier to reason about, but time will tell
whether it's a net gain or not.
- The env var we were using to shift the clock away from rollover for
unit tests has been repurposed to also disable fuzzing, which simplifies
the tests.
- Cards in filtered decks without scheduling now have the preview delay
fuzzed.
- Sub-day learning cards are mostly fuzzed like before, but will apply
the up-to-5-minutes of fuzz regardless of the time of day.
- The answer buttons now round minute values, as the fuzz on short
intervals is distracting.
2021-02-22 21:31:53 +10:00
..
support tweaking the folder names again 2020-01-03 07:48:38 +10:00
__init__.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
run_format.py Update mypy and black format check to python version 3.8 2020-11-11 09:24:28 +00:00
run_mypy.py initial Bazel conversion 2020-11-01 14:26:58 +10:00
run_pylint.py initial Bazel conversion 2020-11-01 14:26:58 +10:00
run_pytest.py implement fuzzing 2021-02-22 21:31:53 +10:00
shared.py fix errorsAfterMidnight 2020-04-08 10:05:19 +10:00
test_cards.py make backend instance on col private 2021-01-31 18:56:16 +10:00
test_collection.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
test_decks.py move drag/drop deck logic to backend 2021-01-31 13:46:31 +10:00
test_exporting.py rework v2 scheduler upgrade; drop downgrade 2021-02-21 15:50:41 +10:00
test_find.py remember last input for 'set due'; add string config; nest config types 2021-02-08 14:10:05 +10:00
test_flags.py add tests and setup.py to checks; fix warnings 2020-01-06 15:27:59 +10:00
test_importing.py initial Bazel conversion 2020-11-01 14:26:58 +10:00
test_latex.py remove print statement from unit tests 2020-11-18 13:56:44 +10:00
test_media.py Merge pull request #793 from nwwt/object-audio-tags-support 2020-11-11 10:33:31 +10:00
test_models.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
test_schedv1.py Revert "use v2 scheduler+new timezone handling by default for new users" 2021-02-21 19:03:46 +10:00
test_schedv2.py make checkRevIvl() assert so pytest can print values; fix missed check 2021-02-22 21:31:53 +10:00
test_stats.py d->col in tests 2020-07-17 06:58:32 +02:00
test_template.py d->col in tests 2020-07-17 06:58:32 +02:00
test_undo.py fix a few more instances where v2 tests were referencing 'left today' 2021-02-22 21:31:53 +10:00