| # VeriRender — Causal Consistency Evaluation |
| **Sample:** `sample_00166` |
|
|
| > **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 = 3905 |
| n_petals = 5 # k in r = A|cos(k·θ/2)| |
| amplitude = 1.350061 |
| n_points = 1000 |
| |
| # ── Data ──────────────────────────────────────────────────────────────────── |
| theta = np.linspace(0.0, 2.0 * np.pi, n_points) |
| r = amplitude * np.abs(np.cos(n_petals * theta / 2.0)) |
| |
| # ── Plot ───────────────────────────────────────────────────────────────────── |
| fig, ax = plt.subplots(subplot_kw={"projection": "polar"}, figsize=(5, 5)) |
| ax.plot(theta, r, linewidth=1.5) |
| ax.set_title( |
| f"Rose Curve (k={n_petals}, A={amplitude:.2f})", pad=15 |
| ) |
| fig.tight_layout() |
| plt.show() |
| ``` |
|
|
| **Domain:** Data visualization |
| **Plot family:** Polar plot (rose / petal curve) |
|
|
| 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>" |
| } |
| ``` |
|
|