| # VeriRender — Causal Consistency Evaluation |
| **Sample:** `sample_00021` |
|
|
| > **Before sending:** attach `corrupted.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 = 1200 |
| size = 42 |
| colormap = "inferno" |
| n_blobs = 2 |
| |
| # ── Data ──────────────────────────────────────────────────────────────────── |
| x = np.linspace(-3.0, 3.0, size) |
| y = np.linspace(-2.0, 4.0, size) |
| X, Y = np.meshgrid(x, y) |
| Z = np.zeros((size, size)) |
| |
| Z += 0.964817 * np.exp( |
| -((X - -1.641135)**2 / (2 * 0.683935**2) |
| + (Y - 1.734426)**2 / (2 * 0.824389**2)) |
| ) |
| Z += -1.142092 * np.exp( |
| -((X - 0.586117)**2 / (2 * 1.468428**2) |
| + (Y - 2.109489)**2 / (2 * 0.681261**2)) |
| ) |
| |
| # ── Plot ──────────────────────────────────────────────────────────────────── |
| fig, ax = plt.subplots(figsize=(6, 5)) |
| im = ax.pcolormesh(X, Y, Z, cmap=colormap, shading="auto") |
| fig.colorbar(im, ax=ax, label="Intensity") |
| ax.set_title(f"Gaussian Heatmap ({n_blobs} blob(s))") |
| ax.set_xlabel("X") |
| ax.set_ylabel("Y") |
| fig.tight_layout() |
| plt.show() |
| ``` |
|
|
| **Domain:** Data visualization |
| **Plot family:** 2D heatmap (matplotlib `pcolormesh`) |
|
|
| 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>" |
| } |
| ``` |
|
|