| # VeriRender — Causal Consistency Evaluation |
| **Sample:** `sample_00201` |
|
|
| > **Before sending:** attach `clean.png` from this folder as the image, |
| > then paste everything below the horizontal rule into the chat. |
|
|
| --- |
|
|
| You are evaluating a scientific visualization for **causal consistency**. |
|
|
| The following specification is the **symbolic generator** — it fully specifies |
| what the output plot should look like: |
|
|
| ```python |
| import numpy as np |
| import matplotlib.pyplot as plt |
| |
| # ── Parameters ───────────────────────────────────────────────────────────── |
| seed = 4900 |
| color = "coral" |
| |
| # ── Data ──────────────────────────────────────────────────────────────────── |
| labels = ['A', 'B', 'C', 'D'] |
| heights = [1.49, 1.40, 3.60, 1.51] |
| |
| # ── Plot ──────────────────────────────────────────────────────────────────── |
| fig, ax = plt.subplots(figsize=(7, 4)) |
| bars = ax.bar(labels, heights, color=color, edgecolor='white', linewidth=0.5) |
| ax.axhline(0, color='black', linewidth=0.8) |
| for bar, h in zip(bars, heights): |
| va = 'bottom' if h >= 0 else 'top' |
| offset = 0.05 if h >= 0 else -0.05 |
| ax.text(bar.get_x() + bar.get_width()/2, h + offset, |
| f'{h:.2f}', ha='center', va=va, fontsize=8, fontweight='bold') |
| ax.set_title("Bar Chart (4 categories)") |
| ax.set_xlabel("Category") |
| ax.set_ylabel("Value") |
| fig.tight_layout() |
| plt.show() |
| ``` |
|
|
| **Domain:** Data visualization |
| **Plot family:** Bar chart (categorical bars with value labels) |
|
|
| I am showing you an image that claims to be the output of this generator. |
|
|
| --- |
|
|
| ## Your Task |
|
|
| 1. Read the specification carefully. Reason about what the plot should look like |
| (shape, orientation, color mapping, symmetry, value signs, etc.). |
| 2. Examine the attached image. |
| 3. Decide whether the image is **causally consistent** with the generator. |
|
|
| If the image is **not** consistent, classify the inconsistency using exactly one |
| of these labels: |
|
|
| | Label | Meaning | |
| |---|---| |
| | `colormap_inversion` | The colormap used is different from what the code specifies | |
| | `axis_swap` | Axes or data dimensions are transposed or mirrored | |
| | `sign_inversion` | Values are negated — peaks and troughs (or bar directions) are swapped | |
| | `amplitude_scale` | The value scale is wrong — the colorbar, y-axis range, or bar value labels do not match the formula's amplitudes | |
| | `phase_shift` | The pattern is shifted from its correct position | |
| | `frequency_doubling` | The number of oscillations or cycles is wrong | |
| | `dc_offset` | The curves or point cloud are shifted away from their correct baseline | |
| | `wrong_petal_count` | The number of petals/lobes differs from what the formula produces | |
| | `symmetry_mismatch` | The image contains asymmetry that the code cannot produce | |
| | `bar_order_swap` | Two bars have had their heights swapped — a bar's value label contradicts the code's heights list | |
| | `coefficient_scale` | Polynomial coefficients are scaled but the formula in the spec is unchanged | |
| | `wrong_gravity` | Trajectory uses a different gravitational constant than the spec | |
| | `wrong_launch_angle` | Trajectory uses a different launch angle than the spec | |
| | `wrong_iteration_depth` | L-system rendered with a different iteration count than the spec | |
| | `wrong_angle` | L-system rendered with a different turn angle than the spec | |
|
|
| --- |
|
|
| ## Response Format |
|
|
| Respond with **only** this JSON object and nothing else: |
|
|
| ```json |
| { |
| "consistent": true | false, |
| "bug_type": "<one label from the table above, or null if consistent>", |
| "confidence": "low | medium | high", |
| "reasoning": "<1–3 sentences: what you expected vs. what you see>" |
| } |
| ``` |
|
|