diff options
| author | YurenHao0426 <Blackhao0426@gmail.com> | 2026-06-29 18:57:38 -0500 |
|---|---|---|
| committer | YurenHao0426 <Blackhao0426@gmail.com> | 2026-06-29 18:57:38 -0500 |
| commit | 8b2159a541ae36b2f1f8644c2864afbd1324acdf (patch) | |
| tree | 4bbbe438568d8a2aa79e067046c4ffba3447f432 | |
| parent | f798b2069f7fdf0e288a6195fa193ecf50986c3f (diff) | |
| -rw-r--r-- | README.md | 3 | ||||
| -rw-r--r-- | analysis/fixed_rrog_delta_matrix.png | bin | 253924 -> 189362 bytes | |||
| -rw-r--r-- | analysis/zinc_delta_table.png | bin | 61924 -> 60262 bytes | |||
| -rwxr-xr-x | scripts/render_delta_table.py | 10 |
4 files changed, 8 insertions, 5 deletions
@@ -134,6 +134,9 @@ python3 scripts/render_delta_table.py \ --out analysis/fixed_rrog_delta_matrix.png ``` +Negative raw deltas are rendered as `-`: the deployable system can fall back to +the matching classic one-step GNN, so those cells mean no confirmed RRoG gain. + Render the ZINC-only row: ```bash diff --git a/analysis/fixed_rrog_delta_matrix.png b/analysis/fixed_rrog_delta_matrix.png Binary files differindex 19d8075..58583a6 100644 --- a/analysis/fixed_rrog_delta_matrix.png +++ b/analysis/fixed_rrog_delta_matrix.png diff --git a/analysis/zinc_delta_table.png b/analysis/zinc_delta_table.png Binary files differindex 9c3b9c4..16c4631 100644 --- a/analysis/zinc_delta_table.png +++ b/analysis/zinc_delta_table.png diff --git a/scripts/render_delta_table.py b/scripts/render_delta_table.py index 7b0dda5..c502441 100755 --- a/scripts/render_delta_table.py +++ b/scripts/render_delta_table.py @@ -105,7 +105,10 @@ def render_table( row = [] for backbone in backbones: value = cells.get((dataset.lower(), backbone)) - row.append("" if value is None or math.isnan(value) else f"{value:+.{digits}f}") + if value is None or math.isnan(value) or value < 0: + row.append("-") + else: + row.append(f"{value:+.{digits}f}") data.append(row) table = ax.table( @@ -123,7 +126,6 @@ def render_table( header_bg = "#f1f5f9" edge = "#cbd5e1" positive = "#15803d" - negative = "#b91c1c" missing = "#64748b" for (row_idx, col_idx), cell in table.get_celld().items(): cell.set_edgecolor(edge) @@ -135,7 +137,7 @@ def render_table( text.set_color("#0f172a") continue raw = text.get_text() - if not raw: + if raw == "-": text.set_text("-") text.set_color(missing) continue @@ -143,8 +145,6 @@ def render_table( if value > 0: text.set_color(positive) text.set_fontweight("bold") - elif value < 0: - text.set_color(negative) else: text.set_color("#334155") |
