ostafen / smart

String Matching Algorithms Research Tool
https://smart-tool.github.io/smart/
GNU General Public License v3.0
4 stars 2 forks source link

Suggestion: allow repeating of randomised tests/benchmarks. #1

Closed nishihatapalmer closed 2 years ago

nishihatapalmer commented 2 years ago

Tests and benchmarks are often randomised.

SMART should log the seed used in experiments or tests somewhere, and provide a way to set the random seed via a --seed option.

This would massively simplifiy debugging algorithms and finding subtle errors when they occur.

nishihatapalmer commented 2 years ago

When an algorithm fails on a test or benchmark, it would also be good to log the pattern / algo that failed.