Skip to content

Commit b3685bb

Browse files
committed
Tidy report formatting
1 parent 5a0ad88 commit b3685bb

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

auditor/src/main/java/org/pqcreadiness/auditor/report/MarkdownReportWriter.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ private void appendMigrationPlan(StringBuilder md, ReadinessReport report) {
8282

8383
md.append("**Estimated effort for one engineer: ")
8484
.append(MigrationPlan.humanRange(plan.totalHoursLow(), plan.totalHoursHigh()))
85-
.append("** change work ")
85+
.append("** (change work ")
8686
.append(MigrationPlan.humanRange(plan.changeHoursLow(), plan.changeHoursHigh()))
8787
.append(", testing ")
8888
.append(MigrationPlan.humanRange(plan.testingHoursLow(), plan.testingHoursHigh()))
8989
.append(", plus ")
9090
.append(MigrationPlan.humanRange(plan.setupHoursLow(), plan.setupHoursHigh()))
91-
.append(" of one-time setup.\n\n");
91+
.append(" of one-time setup).\n\n");
9292

9393
md.append("> Time figures come from planning-time model `").append(plan.timeModel())
9494
.append("`, layered on the difficulty score: 1 score point ≈ ")
@@ -104,7 +104,7 @@ private void appendMigrationPlan(StringBuilder md, ReadinessReport report) {
104104
int number = 1;
105105
for (MigrationPlan.Step step : plan.steps()) {
106106
md.append("| ").append(number++).append(" | ").append(step.title())
107-
.append(" | ").append(step.sites() > 0 ? step.sites() : "")
107+
.append(" | ").append(step.sites() > 0 ? step.sites() : "n/a")
108108
.append(" | ").append(moduleList(step.modules()))
109109
.append(" | ")
110110
.append(step.effortCountedInOtherSteps()
@@ -124,7 +124,7 @@ private void appendMigrationPlan(StringBuilder md, ReadinessReport report) {
124124

125125
private static String moduleList(List<String> modules) {
126126
if (modules.isEmpty()) {
127-
return "";
127+
return "n/a";
128128
}
129129
StringBuilder cell = new StringBuilder();
130130
int shown = Math.min(3, modules.size());

0 commit comments

Comments
 (0)