diff --git a/tests/efficacy/report.py b/tests/efficacy/report.py index 1ac19ee..9779a56 100644 --- a/tests/efficacy/report.py +++ b/tests/efficacy/report.py @@ -5630,6 +5630,8 @@ def radar_panels(table, results, active): # a whole point, and never under 5 points, so an axis the pilot's trials # could not shake, or did not measure, still needs a visible move. # Reliability's 7 is one build of 15, the margin round 5d gave it too. +ISO_RINGS = (0.2, 0.4, 0.6, 0.8) + ISO_MARGINS = { "Functionality": 5, "Performance": 5, "Compatibility": 5, "Usability": 5, "Reliability": 7, "Security": 5, "Maintainability": 5, "Flexibility": 5, @@ -5870,10 +5872,16 @@ def ring(cx, cy, share): 'font-size="14" font-weight="600" fill="%s">%s' % (cx, cy - radius - 74, colors["secondary"], escape(cost))) - for share in (0.25, 0.5, 0.75): + # A ring every 20 %, each labelled beside the top axis, so a share + # reads off the chart in round numbers. + for share in ISO_RINGS: out.append('' % (ring(cx, cy, share), colors["grid"])) + x, y = point(cx, cy, share, 0) + out.append('%d %%' + % (x + 4, y, colors["secondary"], round(share * 100))) for index in range(count): x, y = point(cx, cy, 1.0, index) out.append('