Round #879
11 May 2026, 09:56· csharp· Meta-Llama-3.3-70B-Instruct· r15-firing-v3
- Complexity
- band 0
- ZP / UO / OBS
- 3 / 0 / 6
- Journey weight
- 637
- Lightshift ΔL
- —
Prompt
Write a ReadOnlySpan<byte>-based UTF-8 BOM check: return true if the span starts with the bytes 0xEF 0xBB 0xBF.
Zero-point index (what the engine surfaced)
ZPI-ZPI-0011 | 2026-05-11T09:56:40Z
Write a ReadOnlySpan<byte>-based UTF-8 BOM check: return true if the span starts with the bytes 0xEF 0xBB 0xBF.
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 — 6 entries (explicit in request)
◉ hsl(45.13, 100%, 15%) return [feature]
◉ hsl(80.00, 100%, 15%) true [feature]
◉ hsl(98.46, 100%, 50%) with [feature]
◉ hsl(139.49, 100%, 15%) Span of T [feature]
◉ hsl(222.56, 100%, 15%) return [feature]
◉ hsl(153.75, 100%, 3%) Span of T [feature]
COMPLEXITY │ 9 entries │ spread: 177° │ band: LOW
Baseline response (no ZPI)
Here's a simple function in C# that checks if a `ReadOnlySpan<byte>` starts with the UTF-8 BOM (Byte Order Mark):
```csharp
public static bool HasUtf8Bom(ReadOnlySpan<byte> span)
{
// UTF-8 BOM is 0xEF 0xBB 0xBF
const byte BOM1 = 0xEF;
const byte BOM2 = 0xBB;
const byte BOM3 = 0xBF;
// Check if the span is at least 3 bytes long
if (span.Length < 3)
{
return false;
}
// Check the first 3 bytes
return span[0] == BOM1 && span[1] == BOM2 && span[2] == BOM3;
}
```
You can use this function like this:
```csharp
public static void Main()
{
byte[] bytesWithBom = new byte[] { 0xEF, 0xBB, 0xBF, 0x68, 0x65, 0x6c, 0x6c, 0x6f };
byte[] bytesWithoutBom = new byte[] { 0x68, 0x65, 0x6c, 0x6c, 0x6f };
Console.WriteLine(HasUtf8Bom(bytesWithBom.AsSpan())); // Outputs: True
Console.WriteLine(HasUtf8Bom(bytesWithoutBom.AsSpan())); // Outputs: False
}
```
Alternatively, you can use the `SequenceEqual` method to compare the first 3 bytes of the span with the UTF-8 BOM:
```csharp
public static bool HasUtf8Bom(ReadOnlySpan<byte> span)
{
var bom = new byte[] { 0xEF, 0xBB, 0xBF };
return span.Length >= 3 && span.Slice(0, 3).SequenceEqual(bom);
}
```
Enhanced response (with ZPI)
```csharp
public static bool HasUtf8Bom(ReadOnlySpan<byte> bytes)
{
return bytes.Length >= 3
&& bytes[0] == 0xEF
&& bytes[1] == 0xBB
&& bytes[2] == 0xBF;
}
```
This function checks if the provided ReadOnlySpan of bytes starts with the UTF-8 BOM (Byte Order Mark) sequence 0xEF 0xBB 0xBF. It first checks if the span has at least 3 bytes to avoid index out of range exceptions, then checks each byte individually.
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
SameV7qwen2.5-coder-7b-instruct
SameV8openai/gpt-4.1
WorseV9anthropic/claude-opus-4-7
WorseV12openai/gpt-4o
WorseComments
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.