Fixing test script, changing min match to add in searching

This commit is contained in:
mrfry 2021-01-26 12:12:35 +01:00
parent 8867d1f3b1
commit 6241d29f1f
5 changed files with 4 additions and 16 deletions

View file

@ -33,7 +33,7 @@ const specialChars = ['&', '\\+']
/* Percent minus for length difference */
const lengthDiffMultiplier = 10
/* Minimum ammount to consider that two questions match during answering */
const minMatchAmmount = 60
const minMatchAmmount = 70
/* If all of the results are below this match percent (when only one subject is searched due to
* subject name matching) then all subjects are searched for answer */
const minMatchToNotSearchOtherSubjects = 90