When dl > 1
This line -> https://github.com/All-less/trace-generator/blob/master/spar/cli.py#L83
together with range() will already output the desired count of tasks. However the tool will also always add the original task. So the resulting task multiplicator should be dl, but in fact is dl+1.
Little snippet to inspect the behavior:
# Run with load-factor 1 (normal)
spar /tmp --load-factor 1
wc -l tmp/batch_instace.csv
# results in 3056536 lines
# Run with a load-factor just a little bit bigger than 1
spar /tmp --load-factor 1.00001
wc -l tmp/batch_instace.csv
# results in 16205872 lines (factor > 5)
When dl > 1
This line -> https://github.com/All-less/trace-generator/blob/master/spar/cli.py#L83
together with range() will already output the desired count of tasks. However the tool will also always add the original task. So the resulting task multiplicator should be
dl, but in fact isdl+1.Little snippet to inspect the behavior: