Checks if jobs were run with the same seed on older logs
Source:R/check_rep_seeds_depr.R
check_rep_seeds_depr.Rd
Checks every log file inside a folder for the record of the used seed and returns duplicated seeds and corresponding job arrays.
Arguments
- logs_path
Character with path to the folder containing logs. Only log files should be present, in plain text format.
Value
A data frame with four columns. Each line contains the information of one result with a duplicated seed. There will be no lines if there are no duplicated seeds in the any of the logs. Columns are as follows:
Data
: A character vector with the name of the data set where duplicates were found.Models
: A numeric with corresponding array index. Will be empty if no duplicates were found.Seeds
: A numeric with the corresponding seed that was duplicated.Array_indices
: A numeric with corresponding array index.
Note
In this function, the lines containing the scraped values can be anywhere in
each file, as this occurred in older versions of the package. Checking is
thus less efficient and preference should be given to
check_rep_seeds()
in most cases, unless older log files are being
checked. check_rep_seeds()
will fail for most older log files.
See also
check_rep_seeds()
for optimized checks on current logs.