Skip to content

Commit

Permalink
make function name match file name
Browse files Browse the repository at this point in the history
  • Loading branch information
artoonie committed Nov 4, 2024
1 parent 8b8fe60 commit b16d565
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/network/brightspots/rcv/ResultsWriter.java
Original file line number Diff line number Diff line change
Expand Up @@ -284,13 +284,13 @@ void generateBySliceSummaryFiles(
String.format("%s_extended_summary", sliceFileString));
String outputPathJson = getOutputFilePathFromInstance(
String.format("%s_summary", sliceFileString));
generateSummaryExtendedCsv(roundTallies, candidateOrder, slice, sliceId, outputPathCsv);
generateExtendedSummaryCsv(roundTallies, candidateOrder, slice, sliceId, outputPathCsv);
generateSummaryJson(roundTallies, tallyTransfers, slice, sliceId, outputPathJson);
}
}
}

private void generateSummaryExtendedCsv(
private void generateExtendedSummaryCsv(
RoundTallies roundTallies,
List<String> candidateOrder,
TabulateBySlice slice,
Expand Down Expand Up @@ -611,7 +611,7 @@ void generateOverallSummaryFiles(
List<String> candidateOrder) throws IOException {
String outputPathSummary = getOutputFilePathFromInstance("summary");
String outputPathExtended = getOutputFilePathFromInstance("extended_summary");
generateSummaryExtendedCsv(roundTallies, candidateOrder, null, null, outputPathExtended);
generateExtendedSummaryCsv(roundTallies, candidateOrder, null, null, outputPathExtended);
generateSummaryCsv(roundTallies, candidateOrder, null, null, outputPathSummary);
generateSummaryJson(roundTallies, tallyTransfers, null, null, outputPathSummary);
}
Expand Down

0 comments on commit b16d565

Please sign in to comment.