Round #802
10 May 2026, 17:56· csharp· Meta-Llama-3.3-70B-Instruct· r14-length-bound
- Complexity
- band 0
- ZP / UO / OBS
- 3 / 0 / 2
- Journey weight
- 250
- Lightshift ΔL
- —
Prompt
Find the median salary in each department using window functions.
Zero-point index (what the engine surfaced)
ZPI-ZPI-0019 | 2026-05-10T17:56:57Z
Find the median salary in each department using window functions.
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(85.13, 100%, 50%) using [feature]
◉ hsl(234.87, 100%, 50%) using [feature]
COMPLEXITY │ 5 entries │ spread: 150° │ band: LOW
Baseline response (no ZPI)
```csharp
using System;
using System.Collections.Generic;
using System.Linq;
public class Employee
{
public string Name { get; set; }
public string Department { get; set; }
public int Salary { get; set; }
}
class Program
{
static void Main()
{
var employees = new List<Employee>
{
new Employee { Name = "John", Department = "Sales", Salary = 50000 },
new Employee { Name = "Anna", Department = "Marketing", Salary = 60000 },
new Employee { Name = "Peter", Department = "Sales", Salary = 70000 },
new Employee { Name = "Linda", Department = "Marketing", Salary = 80000 },
new Employee { Name = "Tom", Department = "Sales", Salary = 60000 },
new Employee { Name = "Jerry", Department = "Marketing", Salary = 70000 },
new Employee { Name = "Bob", Department = "Sales", Salary = 80000 },
new Employee { Name = "Alice", Department = "Marketing", Salary = 90000 },
};
var medianSalaries = employees.GroupBy(e => e.Department)
.Select(g => new
{
Department = g.Key,
MedianSalary = GetMedian(g.Select(e => e.Salary).OrderBy(s => s).ToList())
});
foreach (var department in medianSalaries)
{
Console.WriteLine($"Department: {department.Department}, Median Salary: {department.MedianSalary}");
}
}
static double GetMedian(List<int> numbers)
{
var count = numbers.Count;
if (count % 2 == 0)
{
return (numbers[count / 2 - 1] + numbers[count / 2]) / 2.0;
}
else
{
return numbers[count / 2];
}
}
}
```
Enhanced response (with ZPI)
```csharp
using System;
using System.Data;
using System.Linq;
public class SalaryData
{
public string Department { get; set; }
public decimal Salary { get; set; }
}
class Program
{
static void Main()
{
var salaries = new[]
{
new SalaryData { Department = "Sales", Salary = 50000 },
new SalaryData { Department = "Sales", Salary = 60000 },
new SalaryData { Department = "Sales", Salary = 70000 },
new SalaryData { Department = "Marketing", Salary = 40000 },
new SalaryData { Department = "Marketing", Salary = 55000 },
new SalaryData { Department = "Marketing", Salary = 65000 },
};
var medianSalaries = salaries
.GroupBy(s => s.Department)
.Select(g =>
{
var sortedSalaries = g.OrderBy(s => s.Salary).Select(s => s.Salary).ToArray();
int count = sortedSalaries.Length;
decimal median = count % 2 == 0
? (sortedSalaries[count / 2 - 1] + sortedSalaries[count / 2]) / 2
: sortedSalaries[count / 2];
return new { Department = g.Key, MedianSalary = median };
});
foreach (var department in medianSalaries)
{
Console.WriteLine($"Department: {department.Department}, Median Salary: {department.MedianSalary}");
}
}
}
```
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
BetterV4qwen2.5-coder-3b-instruct
BetterV5openrouter/qwen/qwen3-235b-a22b-2507
WorseV7qwen2.5-coder-7b-instruct
SameV8openai/gpt-4.1
SameV9anthropic/claude-opus-4-7
WorseV12openai/gpt-4o
BetterComments
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.