typo in parseTeePercents
calculate_tee_times is declared twice at different scopes:
bool calculate_tee_times = network->getCalculateTeeTimes();
if (network_data->contains("calculate-tee-times")) {
bool calculate_tee_times = getBoolean(network_data, "calculate-tee-times");
the second bool must be removed.