more readable report

This commit is contained in:
rusefillc 2024-07-25 16:04:30 -04:00
parent dcb6283620
commit 1def6a7463
1 changed files with 2 additions and 2 deletions

View File

@ -65,10 +65,10 @@ public class ByteRateOfChangeReports {
ByteRateOfChange.ByteStatistics s2 = traceReport2.getStatistics().computeIfAbsent(id, ByteRateOfChange.ByteStatistics::new);
if (s1.getUniqueValuesCount() != s2.getUniqueValuesCount()) {
String msg = prefix + id + ": count=" + s1.getUniqueValuesCount() + " vs " + s2.getUniqueValuesCount();
String msg = prefix + id + ": unique_count=" + s1.getUniqueValuesCount() + " vs " + s2.getUniqueValuesCount();
int deltaCount = Math.abs(s1.getUniqueValuesCount() - s2.getUniqueValuesCount());
differences.add(new ByteVariationDifference(deltaCount, msg));
report.println(msg + " delta=" + deltaCount + " / transitions=" + s1.totalTransitions + " vs " + s2.totalTransitions);
report.println(msg + " (delta=" + deltaCount + "), transitions=" + s1.totalTransitions + " vs " + s2.totalTransitions);
} else {
HashSet<Integer> diff = s1.getUniqueValues();
diff.removeAll(s2.getUniqueValues());