Citations, better flake.nix, better figure

This commit is contained in:
2026-07-04 23:35:36 +03:00
parent 96d74ef901
commit ce726d938f
6 changed files with 389 additions and 119 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 84 KiB

+6 -6
View File
@@ -92,12 +92,12 @@ ax2.axhline(F1_tau, color=C_POS, linestyle="-.", linewidth=0.9, alpha=0.7)
ax2.plot(tau, F0_tau, "o", color=C_NEG, markersize=5, zorder=4)
ax2.plot(tau, F1_tau, "o", color=C_POS, markersize=5, zorder=4)
# Left-side y-axis labels for the intercepts
x_min = x[0]
ax2.text(x_min - 0.15, F0_tau, rf"$1-\alpha$",
fontsize=8, color=C_NEG, va="center", ha="right")
ax2.text(x_min - 0.15, F1_tau, r"$\hat{F}_1(\tau)$" + "\n(loss)",
fontsize=7.5, color=C_POS, va="center", ha="right")
# Right-side labels for the intercepts (placed where CDFs have flattened to ~1)
x_label_right = x[-1] - 0.2
ax2.text(x_label_right, F0_tau, rf"$1-\alpha$",
fontsize=8, color=C_NEG, va="bottom", ha="right")
ax2.text(x_label_right, F1_tau, r"$\hat{F}_1(\tau)$" + "\n(loss)",
fontsize=7.5, color=C_POS, va="top", ha="right")
# TPR annotation: double-headed arrow on the right + label
x_bracket = tau + 1.9