Release v0.31.0 — report parity + the inverted rescue (0.29.0 → 0.31.0) #40

Merged
serversdown merged 31 commits from dev into main 2026-09-18 16:46:45 -04:00
Showing only changes of commit db818f716c - Show all commits
+10 -9
View File
@@ -578,15 +578,16 @@ def _draw_mic_and_usbm(ax, rd: ReportData) -> None:
_kv(ax, 0.0, y, label, value, label_w=0.18) _kv(ax, 0.0, y, label, value, label_w=0.18)
y -= 0.15 y -= 0.15
# USBM chart placeholder — upper-right. Real piecewise compliance # USBM RI8507 compliance chart — inset axes in the right half of this band.
# curves are a separate work item; for now this just shows the title ax.text(0.74, 1.00, "USBM RI8507", fontsize=9, weight="bold", color="#333",
# + a "see report" message so the layout is correct. ha="center", va="top", transform=ax.transAxes)
ax.text(0.72, 0.97, "USBM RI8507 And OSMRE", if rd.channels and rd.sample_rate_sps:
fontsize=9, weight="bold", color="#333", ha="center", va="top", from sfm.compliance import draw_compliance_chart
transform=ax.transAxes) inset = ax.inset_axes([0.52, 0.02, 0.46, 0.82])
ax.text(0.72, 0.50, "[compliance chart\ncoming soon]", draw_compliance_chart(inset, rd.channels, rd.sample_rate_sps)
fontsize=8, color="#bbb", ha="center", va="center", else:
transform=ax.transAxes, style="italic") ax.text(0.74, 0.48, "(no waveform data)", fontsize=8, color="#bbb",
ha="center", va="center", transform=ax.transAxes, style="italic")
def _mic_rows(rd: ReportData) -> list[tuple[str, Optional[str]]]: def _mic_rows(rd: ReportData) -> list[tuple[str, Optional[str]]]: