Round #890

11 May 2026, 10:00· csharp· Meta-Llama-3.3-70B-Instruct· r15-firing-v3
Complexity
band 1
ZP / UO / OBS
5 / 2 / 4
Journey weight
710
Lightshift ΔL

Prompt

Demonstrate await on Task.Delay inside an async method that returns Task<int>. Show calling it twice in parallel via Task.WhenAll.

Zero-point index (what the engine surfaced)

ZPI-ZPI-0022 | 2026-05-11T10:00:01Z Demonstrate await on Task.Delay inside an async method that returns Task<int>. Show calling it twice in parallel via Task.WhenAll. ZERO POINT — 5 entries (structural invariants) ● hsl(27.69, 100%, 50%) async [feature] ● hsl(145.64, 100%, 50%) Task of T [feature] ● 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(3.75, 100%, 38%) CancellationToken [feature] ○ hsl(201.23, 100%, 7%) Channel of T producer [function] OBSERVED — 4 entries (explicit in request) ◉ hsl(73.85, 100%, 15%) on [feature] ◉ hsl(77.95, 100%, 50%) async [feature] ◉ hsl(78.97, 100%, 15%) await [feature] ◉ hsl(144.62, 100%, 15%) Task [feature] COMPLEXITY │ 11 entries │ spread: 197° │ band: MEDIUM

Baseline response (no ZPI)

```csharp using System; using System.Threading.Tasks; class Program { static async Task<int> MyFunctionAsync(int n) { Console.WriteLine($"Task {n} started"); await Task.Delay(1000); // Simulate some asynchronous work Console.WriteLine($"Task {n} finished"); return n * n; } static async Task Main(string[] args) { // Call MyFunctionAsync twice in parallel var tasks = new Task<int>[] { MyFunctionAsync(2), MyFunctionAsync(3) }; var results = await Task.WhenAll(tasks); // Print the results foreach (var result in results) { Console.WriteLine(result); } } } ```

Enhanced response (with ZPI)

```csharp using System; using System.Threading.Tasks; public class Program { public static async Task<int> DelayedTask(int delay) { await Task.Delay(delay); return delay; } public static async Task Main() { var tasks = new Task<int>[] { DelayedTask(1000), DelayedTask(2000) }; var results = await Task.WhenAll(tasks); foreach (var result in results) { Console.WriteLine(result); } } } ``` This code defines an `async` method `DelayedTask` that takes an integer delay, waits for that amount of time using `Task.Delay`, and then returns the delay. The `Main` method creates two tasks that call `DelayedTask` with different delays, and then uses `Task.WhenAll` to wait for both tasks to complete in parallel. The results are then printed to the console. This example demonstrates how to use `await` with `Task.Delay` inside an `async` method and how to call multiple tasks in parallel using `Task.WhenAll`.

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
Worse
V4qwen2.5-coder-3b-instruct
Better
V5cerebras/qwen-3-235b-a22b-instruct-2507
Better
V7qwen2.5-coder-7b-instruct
Better
V8openai/gpt-4.1
Same
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