Round #877

11 May 2026, 09:56· csharp· Meta-Llama-3.3-70B-Instruct· r15-firing-v3
Complexity
band 0
ZP / UO / OBS
3 / 0 / 2
Journey weight
320
Lightshift ΔL

Prompt

Demonstrate pattern matching against a tuple (int x, int y) to classify a point as 'Origin', 'OnXAxis', 'OnYAxis', or 'Inside' the unit square.

Zero-point index (what the engine surfaced)

ZPI-ZPI-0009 | 2026-05-11T09:56:11Z Demonstrate pattern matching against a tuple (int x, int y) to classify a point as 'Origin', 'OnXAxis', 'OnYAxis', or 'Inside' the unit square. ZERO POINT — 3 entries (structural invariants) ● hsl(7.18, 100%, 50%) class [feature] ● hsl(0.00, 100%, 50%) public [feature] ● hsl(84.10, 100%, 50%) namespace [feature] UNOBSERVED — 0 entries (implied truths) OBSERVED — 2 entries (explicit in request) ◉ hsl(113.85, 100%, 15%) int [feature] ◉ hsl(138.46, 100%, 15%) Tuple [feature] COMPLEXITY │ 5 entries │ spread: 25° │ band: LOW

Baseline response (no ZPI)

```csharp using System; public class Program { public static string ClassifyPoint((int, int) point) { var (x, y) = point; if ((x, y) == (0, 0)) return "Origin"; else if (y == 0) return "OnXAxis"; else if (x == 0) return "OnYAxis"; else if (-1 < x && x < 1 && -1 < y && y < 1) return "Inside"; else return "Outside"; } public static void Main() { Console.WriteLine(ClassifyPoint((0, 0))); // Origin Console.WriteLine(ClassifyPoint((1, 0))); // OnXAxis Console.WriteLine(ClassifyPoint((0, 1))); // OnYAxis Console.WriteLine(ClassifyPoint((0.5, 0.5))); // Inside Console.WriteLine(ClassifyPoint((1, 1))); // Outside } } ```

Enhanced response (with ZPI)

```csharp using System; public class Program { public static string ClassifyPoint((int x, int y) point) { return point switch { (0, 0) => "Origin", (0, _) => "OnYAxis", (_, 0) => "OnXAxis", var (x, y) when Math.Abs(x) <= 1 && Math.Abs(y) <= 1 => "Inside", _ => "Outside" }; } public static void Main() { Console.WriteLine(ClassifyPoint((0, 0))); // Origin Console.WriteLine(ClassifyPoint((1, 0))); // OnXAxis Console.WriteLine(ClassifyPoint((0, 1))); // OnYAxis Console.WriteLine(ClassifyPoint((1, 1))); // Inside Console.WriteLine(ClassifyPoint((2, 2))); // Outside } } ``` This C# code uses pattern matching to classify a point as 'Origin', 'OnXAxis', 'OnYAxis', or 'Inside' the unit square. The `ClassifyPoint` function takes a tuple `(int x, int y)` as input and returns a string indicating the classification of the point. The `switch` expression is used to match the input point against different patterns, and the corresponding classification is returned. The `Main` function demonstrates the usage of the `ClassifyPoint` function with different input points.

Grader chain

Each grader reads the same baseline + enhanced pair and casts an independent verdict. Disagreement is the framework's own signal — not noise to be averaged away.

V1samba/Meta-Llama-3.3-70B-Instruct
Better
V4qwen2.5-coder-3b-instruct
Better
V5openrouter/qwen/qwen3-235b-a22b-2507
Better
V7qwen2.5-coder-7b-instruct
Better
V8openai/gpt-4.1
Better
V9anthropic/claude-opus-4-7
Better
V12openai/gpt-4o
Better

Comments

Our grader said what it said. What do you say? Comment as a guest below.

No comments yet. Be the first to say what you make of this round.

← back to all rounds