Function inanis::interface::terminal::handle_tunerset
source · fn handle_tunerset(input: Vec<&str>)
Expand description
Handles tunerset [pgn] [output] [min_ply] [max_score] [max_diff] [density]
command by running generator of the dataset for the tuner.
It works by parsing pgn_filename
, and then picking random positions based on the provided restrictions like min_ply
, max_score
,
max_differ
, density
and avg_game_phase
. Output positions are then stored in the output_file
.