| # VeriRender — Causal Consistency Evaluation |
| **Sample:** `sample_00129` |
|
|
| > **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 = 2908 |
| n_points = 131 |
| |
| # ── Data ──────────────────────────────────────────────────────────────────── |
| x = np.linspace(0.0, 2.0 * np.pi, n_points) |
| |
| y0 = 0.698043 * np.sin(2.606526 * x + 5.039795) |
| y1 = 1.662470 * np.sin(1.724687 * x + 1.478118) |
| y2 = 1.207486 * np.sin(2.091718 * x + 0.338356) |
| |
| # ── Plot ──────────────────────────────────────────────────────────────────── |
| fig, ax = plt.subplots(figsize=(7, 4)) |
| ax.plot(x, y0, color="tab:blue", label="A=0.70, f=2.61, φ=5.04") |
| ax.plot(x, y1, color="tab:orange", label="A=1.66, f=1.72, φ=1.48") |
| ax.plot(x, y2, color="tab:green", label="A=1.21, f=2.09, φ=0.34") |
| ax.set_xlabel("x") |
| ax.set_ylabel("y") |
| ax.set_title("Sinusoidal Line Plot (3 curve(s))") |
| ax.legend(fontsize=8) |
| ax.grid(True, alpha=0.3) |
| fig.tight_layout() |
| plt.show() |
| ``` |
|
|
| **Domain:** Data visualization |
| **Plot family:** Line plot (sinusoidal curves) |
|
|
| 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>" |
| } |
| ``` |
|
|