Round #807

10 May 2026, 17:58· csharp· Meta-Llama-3.3-70B-Instruct· r14-length-bound
Complexity
band 0
ZP / UO / OBS
3 / 2 / 1
Journey weight
355
Lightshift ΔL

Prompt

Use HAVING to filter aggregate results: orders with more than 5 line items.

Zero-point index (what the engine surfaced)

ZPI-ZPI-0024 | 2026-05-10T17:58:10Z Use HAVING to filter aggregate results: orders with more than 5 line items. 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 — 2 entries (implied truths) ○ hsl(340.51, 100%, 22%) IEnumerable of T [feature] ○ hsl(15.38, 100%, 22%) var [feature] OBSERVED — 1 entries (explicit in request) ◉ hsl(98.46, 100%, 50%) with [feature] COMPLEXITY │ 6 entries │ spread: 325° │ band: LOW

Baseline response (no ZPI)

```csharp using System; using System.Data; using System.Linq; class Program { static void Main() { // Create a sample DataTable DataTable dt = new DataTable(); dt.Columns.Add("order_id", typeof(int)); dt.Columns.Add("product_id", typeof(int)); dt.Rows.Add(1, 101); dt.Rows.Add(1, 102); dt.Rows.Add(1, 103); dt.Rows.Add(2, 201); dt.Rows.Add(3, 301); dt.Rows.Add(3, 302); dt.Rows.Add(3, 303); dt.Rows.Add(3, 304); dt.Rows.Add(3, 305); dt.Rows.Add(3, 306); dt.Rows.Add(4, 401); dt.Rows.Add(4, 402); dt.Rows.Add(4, 403); dt.Rows.Add(4, 404); dt.Rows.Add(4, 405); dt.Rows.Add(4, 406); dt.Rows.Add(4, 407); // Group by order_id and count the number of rows for each group var grouped = dt.AsEnumerable() .GroupBy(r => r.Field<int>("order_id")) .Select(g => new { order_id = g.Key, num_line_items = g.Count() }); // Filter the results to include only groups with more than 5 rows var filtered = grouped.Where(g => g.num_line_items > 5); // Print the results foreach (var row in filtered) { Console.WriteLine($"order_id: {row.order_id}, num_line_items: {row.num_line_items}"); } } } ```

Enhanced response (with ZPI)

```csharp using System; using System.Data; using System.Data.SqlClient; class Program { static void Main() { // Connection string string connectionString = "Server=myServerAddress;Database=myDataBase;User Id=myUsername;Password=myPassword;"; // SQL query string query = @" SELECT OrderID, COUNT(*) as LineItemCount FROM Orders GROUP BY OrderID HAVING COUNT(*) > 5 "; // Create a new SqlConnection object using (SqlConnection connection = new SqlConnection(connectionString)) { // Open the connection connection.Open(); // Create a new SqlCommand object using (SqlCommand command = new SqlCommand(query, connection)) { // Execute the query and read the results using (SqlDataReader reader = command.ExecuteReader()) { while (reader.Read()) { Console.WriteLine($"Order ID: {reader["OrderID"]}, Line Item Count: {reader["LineItemCount"]}"); } } } } } } ```

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
Worse
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