Round #881
11 May 2026, 09:57· csharp· Meta-Llama-3.3-70B-Instruct· r15-firing-v3
- Complexity
- band 0
- ZP / UO / OBS
- 3 / 0 / 2
- Journey weight
- 332
- Lightshift ΔL
- —
Prompt
Use StringBuilder to format a CSV row from an array of object?, treating null as empty. Escape any commas in values by wrapping in quotes.
Zero-point index (what the engine surfaced)
ZPI-ZPI-0013 | 2026-05-11T09:57:34Z
Use StringBuilder to format a CSV row from an array of object?, treating null as empty. Escape any commas in values by wrapping in quotes.
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(82.05, 100%, 15%) null [feature]
◉ hsl(251.25, 100%, 3%) StringBuilder [feature]
COMPLEXITY │ 5 entries │ spread: 169° │ band: LOW
Baseline response (no ZPI)
```csharp
using System;
using System.Text;
public class Program
{
public static string FormatCsvRow(object?[] values)
{
var sb = new StringBuilder();
foreach (var value in values)
{
if (sb.Length > 0)
{
sb.Append(',');
}
if (value == null)
{
sb.Append("");
}
else if (value.ToString().Contains(","))
{
sb.Append('"');
sb.Append(value.ToString().Replace("\"", "\"\""));
sb.Append('"');
}
else
{
sb.Append(value.ToString());
}
}
return sb.ToString();
}
public static void Main()
{
object?[] values = { "Hello", "World", "This,is,a,test", null, "Another,\"quoted\"", "test" };
Console.WriteLine(FormatCsvRow(values));
}
}
```
Enhanced response (with ZPI)
```csharp
using System;
using System.Text;
public class CsvFormatter
{
public static string FormatCsvRow(object?[] values)
{
var builder = new StringBuilder();
foreach (var value in values)
{
if (builder.Length > 0)
{
builder.Append(',');
}
if (value == null)
{
builder.Append(string.Empty);
}
else if (value.ToString().Contains(','))
{
builder.Append('"');
builder.Append(value.ToString().Replace("\"", "\"\""));
builder.Append('"');
}
else
{
builder.Append(value);
}
}
return builder.ToString();
}
}
```
This implementation iterates over the array of objects, appending each value to a `StringBuilder`. If a value is `null`, it appends an empty string. If a value contains a comma, it wraps the value in quotes and escapes any existing quotes by replacing them with double quotes. The formatted CSV row is then returned as a string.
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
WorseV4qwen2.5-coder-3b-instruct
BetterV5openrouter/qwen/qwen3-235b-a22b-2507
BetterV7qwen2.5-coder-7b-instruct
SameV8openai/gpt-4.1
SameV9anthropic/claude-opus-4-7
SameV12openai/gpt-4o
SameComments
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.