|
32 | 32 | "pro": "///", # diagonal hatch |
33 | 33 | } |
34 | 34 |
|
| 35 | + |
| 36 | +# --- Program-property identity (color + marker) --- |
| 37 | +# Mirrors the LaTeX macros in main.tex (\Syntactic, \Semantic, \RedFail, |
| 38 | +# \Regressions). Color encodes the *property* and is reserved for property |
| 39 | +# labels (subplot titles / axis tick labels), NOT data series: data series |
| 40 | +# still use the model colors above. Markers make the encoding survive |
| 41 | +# grayscale and colorblindness. Keep these hex values in sync with main.tex. |
| 42 | +PROPERTY_COLORS = { |
| 43 | + "syntactic": "#E69F00", # orange |
| 44 | + "semantic": "#009E73", # green |
| 45 | + "reduced": "#CC79A7", # purple (reduced failing tests) |
| 46 | + "regressions": "#8C6D31", # brown |
| 47 | +} |
| 48 | +PROPERTY_MARKERS = { |
| 49 | + "syntactic": "^", # triangle |
| 50 | + "semantic": "o", # circle |
| 51 | + "reduced": "s", # square |
| 52 | + "regressions": "D", # diamond |
| 53 | +} |
| 54 | +PROPERTY_LABELS = { |
| 55 | + "syntactic": "Syntactic Correctness", |
| 56 | + "semantic": "Semantic Correctness", |
| 57 | + "reduced": "Reduced Failing Tests", |
| 58 | + "regressions": "Introduced Regressions", |
| 59 | +} |
| 60 | + |
35 | 61 | # --- Heatmap --- |
36 | 62 | HEATMAP_CMAP = "Blues" |
37 | 63 | HEATMAP_VMIN = 0.5 |
|
0 commit comments