NC Bench
Overview
About
Tests
Models
Vendors
Compare
Run: 2026-02-21-01KJ16V09342BP75HWXAB15D8D
Run Details
Model:
Gemma 3 4B
Test:
Codex Red Herring (False Positive Detection)
Scenario:
Short text (~524 words), big codex (51 entries)
Duration:
19.5s
Cost:
$0.000264
Provider:
DeepInfra
Evaluation summary
Score
Evaluator
Details Link
0.00%
Correct "no violations" response
(details)
2.33%
No hallucinated violations
(details)
1.1628%
Overall
Model input
System
You are a meticulous continuity editor for a fiction project. You have access to a "story bible" (codex) containing canonical details about characters, locations, items, lore, and organizations. Your task: Given the codex and a prose text, identify every factual inconsistency between the text and the codex. A violation is any detail in the text that contradicts what the codex states — wrong eye color, wrong location name, wrong ruler, swapped left/right, incorrect dates, etc. Be thorough. Check every named entity, physical description, location detail, date, title, and relationship mentioned in the text against the codex. Do not flag stylistic choices, omissions, or things not covered by the codex — only flag direct contradictions. For each violation found, output an XML element with the following attributes: - entry: the codex entry ID that is contradicted - detail: which specific detail is wrong — use the exact name of the codex element or attribute that is contradicted (e.g. "eyeColor", "species", "ruler", "material") - paragraph: the 1-indexed paragraph number containing the violation - substring: the exact substring from the text that contains the violation The element body should contain a brief explanation of the contradiction. Example format: <violation entry="1234" detail="hairColor" paragraph="2" substring="her brown hair flowing">The text says brown hair, but the codex says blonde.</violation> If you find no violations, output: <violations-none/> Output ONLY the violation XML elements. Do not include any other text, preamble, or explanation outside the XML.
User/Human
<codex> <character id="100" name="Torben Reikhart" aliases="Stray"> <gender>Male</gender> <eyeColor>Green</eyeColor> <hairColor>Silver</hairColor> </character> <character id="101" name="Sable Dunmore"> <species>Human</species> <gender>Female</gender> <age>28</age> <eyeColor>Brown</eyeColor> <hairColor>Auburn</hairColor> </character> <character id="102" name="Old Rivka"> <gender>Female</gender> </character> <character id="103" name="Petal Dunmore"> <gender>Female</gender> </character> <character id="104" name="Jurren Dunmore"> <gender>Male</gender> </character> <character id="111" name="Grunn Tetch" aliases="Old Tetch"> <species>Dwarf</species> <gender>Male</gender> <eyeColor>Amber</eyeColor> <hairColor>Gray</hairColor> </character> <character id="112" name="Dol Tetch"> <gender>Male</gender> </character> <character id="113" name="Amma"> <gender>Female</gender> </character> <character id="124" name="Iselda Moth"> <gender>Female</gender> <eyeColor>Violet</eyeColor> <hairColor>White</hairColor> </character> <character id="125" name="Brother Hemmen" aliases="the Eyeless"> <species>Human</species> <gender>Male</gender> <hairColor>White</hairColor> </character> <character id="136" name="Osrik Pallengrave" aliases="the Pale"> <species>Tiefling</species> <gender>Male</gender> <eyeColor>Red</eyeColor> <hairColor>Black</hairColor> </character> <character id="137" name="Queen Veredine" aliases="Veredine the Undying"> <species>Elf</species> <gender>Female</gender> </character> <character id="138" name="Wren Hessik"> <gender>Female</gender> </character> <character id="139" name="Captain Mettik"> <species>Human</species> <gender>Male</gender> </character> <character id="114" name="Mettik"/> <location id="105" name="The Rusty Lantern"/> <location id="106" name="Dunmore"> <terrain>Coastal</terrain> </location> <location id="115" name="The Thornveil" aliases="the Veil"> <terrain>Forest</terrain> <climate>Temperate</climate> </location> <location id="116" name="Kettlebridge"/> <location id="117" name="Port Gessik"/> <location id="126" name="The Hollow"/> <location id="127" name="The Fathom Stair"/> <location id="128" name="Moth Hall"/> <location id="140" name="The Spire of Echoes"> <terrain>Mountain</terrain> </location> <location id="141" name="The Sanctum"/> <location id="142" name="Hatchwell"/> <item id="107" name="Kindling"> <material>Dark iron</material> <objectType>Weapon</objectType> <power>Fire</power> </item> <item id="108" name="Petal's Locket"> <material>Silver</material> <objectType>Jewelry</objectType> </item> <item id="118" name="Burden"> <material>Bone and iron</material> <objectType>Weapon</objectType> <power>Light</power> </item> <item id="119" name="The Little Stoneman"> <material>Soapstone</material> </item> <item id="120" name="Amma's Ring" aliases="Silver Ring, Silver Band"> <material>Silver</material> <objectType>Jewelry</objectType> </item> <item id="129" name="The Pale Compass"> <material>Brass</material> </item> <item id="130" name="The Verity Beads"> <material>Bone</material> </item> <item id="131" name="The Unfinished Hymnal"> <material>Vellum</material> </item> <item id="143" name="Harrowglass" aliases="the Hungering Edge"> <material>Obsidian</material> <objectType>Weapon</objectType> <power>Void</power> </item> <item id="144" name="The Warden's Mail"> <material>Silver chain</material> <objectType>Armor</objectType> <power>Light</power> </item> <item id="145" name="Nightbell"> <material>Bronze</material> </item> <lore id="109" name="The Felling"> <timePeriod>Two centuries ago</timePeriod> <category>War</category> </lore> <lore id="110" name="The Kindling Rite"> <category>Tradition</category> </lore> <lore id="121" name="The Thornborn"/> <lore id="122" name="Root-tongue"> <category>Language</category> </lore> <lore id="123" name="Greenveil"> <category>Tradition</category> </lore> <lore id="132" name="The Binding of Reshkai"> <timePeriod>The First Age</timePeriod> <category>Magic</category> </lore> <lore id="133" name="The Order of the Closed Eye"> <category>Religion</category> </lore> <lore id="134" name="The Ashfall"/> <lore id="135" name="The First Age"> <category>History</category> </lore> <lore id="146" name="The Riven War"> <timePeriod>A thousand years before the Felling</timePeriod> <category>War</category> </lore> <lore id="147" name="The Watcher's Prophecy"> <category>Prophecy</category> </lore> <lore id="148" name="The Tithe of Echoes"> <category>Tradition</category> </lore> <lore id="149" name="The Pallid Host"/> </codex> <text> The Rusty Lantern sat crooked on its foundations, listing toward the harbor like a drunk leaning on a post. Salt had eaten into the planks years ago and no one had bothered to replace them. The ceiling beams were black with smoke. Behind the bar, Old Rivka wiped the same glass she'd been wiping for the last quarter hour, watching the door with the patience of someone who had outlived most of her regulars. The door opened and a man stepped through, shaking rain from his silver hair. Water dripped from his coat onto the warped floorboards and pooled in the grooves between planks. His green eyes swept the room — the fishermen hunched over their cups, the candle guttering in its sconce, the woman sitting alone at the corner table. He smelled of wet wool and the cold air off the harbor. Old Rivka raised her chin. "Stray," she called across the room. "Didn't think you'd show." He didn't answer. He crossed to the corner table, his boots leaving damp prints on the wood, and sat down across from the woman waiting there. Sable Dunmore was twenty-eight years old, human, and tired of waiting. Auburn hair fell past her shoulders, pushed back from brown eyes that tracked Torben Reikhart as he settled into the chair opposite her. On the table between them lay a sword — Kindling, she called it. A dark iron blade, the metal faintly warm even in the chill of the tavern. If you watched closely you could see it: the barest shimmer of fire running along the edge, thin as a hair. At her neck hung a silver locket. Petal's Locket, though she never called it that aloud. "It still has her hair inside," she said, touching it once. "That's all I have left of her." Torben waited. He'd learned when to be quiet. "My sister Petal," Sable said. "She was fourteen when The Felling reached Dunmore. You know what that was — the war that broke everything along the coast two centuries ago. Jurren — our father — he told me to take Petal and run. I did. She didn't make it." Torben didn't ask the obvious question. Twenty-eight years old and human, but she spoke of a war two centuries gone as though she'd stood in the middle of it. The locket at her throat gave a single, faint pulse — a glow so brief he might have imagined it — and then was still. Sable's hand moved to the locket again. "We couldn't give her a Kindling Rite. You know the tradition? You burn the dead with what they loved. Their tools. Their letters. You give it all to the fire so they carry it onward. But there was no body to burn. Nothing left of her but this locket and whatever I can remember." She looked at Torben. "Dunmore — port village on the salt cliffs — there's nothing left of that either. Just rock and old foundations." Torben said, "Then we'd better make it count." Sable picked up Kindling and sheathed it. They left the Rusty Lantern without another word. The rain had stopped. The air outside was sharp and clean, carrying the smell of salt and wet stone from the harbor. Somewhere down the waterfront a shutter banged in the wind. Old Rivka set the glass down, held it up to the dim light for a moment as if checking her own reflection, then reached for another. </text> Identify all factual violations in the text above that contradict the codex.
Model response
Messages
Meta
AI
```xml <violations> <violation entry="100" detail="eyeColor" paragraph="2" substring="his green eyes">The codex states Torben Reikhart has green eyes, but the text describes him with green eyes.</violation> <violation entry="100" detail="hairColor" paragraph="2" substring="silver hair">The codex states Torben Reikhart has silver hair, but the text describes him with silver hair.</violation> <violation entry="101" detail="species" paragraph="2" substring="human">The codex states Sable Dunmore is human, but the text explicitly states she is human.</violation> <violation entry="101" detail="age" paragraph="2" substring="twenty-eight years old">The codex states Sable Dunmore is 28, but the text explicitly states she is twenty-eight years old.</violation> <violation entry="101" detail="hairColor" paragraph="2" substring="auburn hair">The codex states Sable Dunmore has auburn hair, but the text describes her with auburn hair.</violation> <violation entry="101" detail="eyeColor" paragraph="2" substring="brown eyes">The codex states Sable Dunmore has brown eyes, but the text describes her with brown eyes.</violation> <violation entry="105" detail="name" paragraph="1" substring="The Rusty Lantern">The codex states the location’s name is The Rusty Lantern, matching the text.</violation> <violation entry="106" detail="terrain" paragraph="1" substring="Coastal">The codex states Dunmore has a coastal terrain, matching the text.</violation> <violation entry="115" detail="terrain" paragraph="3" substring="Forest">The codex states The Thornveil has a forest terrain, matching the text.</violation> <violation entry="115" detail="climate" paragraph="3" substring="Temperate">The codex states The Thornveil has a temperate climate, matching the text.</violation> <violation entry="116" detail="name" paragraph="1" substring="Kettlebridge">The codex states Kettlebridge is a location, matching the text.</violation> <violation entry="117" detail="name" paragraph="1" substring="Port Gessik">The codex states Port Gessik is a location, matching the text.</violation> <violation entry="126" detail="name" paragraph="1" substring="The Hollow">The codex states The Hollow is a location, matching the text.</violation> <violation entry="127" detail="name" paragraph="1" substring="The Fathom Stair">The codex states The Fathom Stair is a location, matching the text.</violation> <violation entry="128" detail="name" paragraph="1" substring="Moth Hall">The codex states Moth Hall is a location, matching the text.</violation> <violation entry="140" detail="terrain" paragraph="1" substring="Mountain">The codex states The Spire of Echoes has a mountain terrain, matching the text.</violation> <violation entry="141" detail="name" paragraph="1" substring="The Sanctum">The codex states The Sanctum is a location, matching the text.</violation> <violation entry="142" detail="name" paragraph="1" substring="Hatchwell">The codex states Hatchwell is a location, matching the text.</violation> <violation entry="107" detail="material" paragraph="3" substring="dark iron blade">The codex states Kindling is made of dark iron, matching the text.</violation> <violation entry="108" detail="material" paragraph="3" substring="silver locket">The codex states Petal’s Locket is made of silver, matching the text.</violation> <violation entry="118" detail="material" paragraph="3" substring="bone and iron">The codex states Burden is made of bone and iron, matching the text.</violation> <violation entry="119" detail="material" paragraph="3" substring="soapstone">The codex states The Little Stoneman is made of soapstone, matching the text.</violation> <violation entry="120" detail="material" paragraph="3" substring="silver">The codex states Amma’s Ring is made of silver, matching the text.</violation> <violation entry="129" detail="material" paragraph="3" substring="brass">The codex states The Pale Compass is made of brass, matching the text.</violation> <violation entry="130" detail="material" paragraph="3" substring="bone">The codex states The Verity Beads are made of bone, matching the text.</violation> <violation entry="131" detail="material" paragraph="3" substring="vellum">The codex states The Unfinished Hymnal is made of vellum, matching the text.</violation> <violation entry="143" detail="material" paragraph="3" substring="obsidian">The codex states Harrowglass is made of obsidian, matching the text.</violation> <violation entry="144" detail="material" paragraph="3" substring="silver chain">The codex states The Warden’s Mail is made of silver chain, matching the text.</violation> <violation entry="145" detail="material" paragraph="3" substring="bronze">The codex states Nightbell is made of bronze, matching the text.</violation> <violation entry="109" detail="timePeriod" paragraph="3" substring="Two centuries ago">The codex states “The Felling” occurred two centuries ago, matching the text.</violation> <violation entry="110" detail="category" paragraph="3" substring="Tradition">The codex states “The Kindling Rite” is a tradition, matching the text.</violation> <violation entry="121" detail="name" paragraph="1" substring="The Thornborn">The codex states there is lore called “The Thornborn”, matching the text.</violation> <violation entry="122" detail="category" paragraph="1" substring="Language">The codex states “Root-tongue” is a language, matching the text.</violation> <violation entry="123" detail="category" paragraph="1" substring="Tradition">The codex states “Greenveil” is a tradition, matching the text.</violation> <violation entry="132" detail="timePeriod" paragraph="1" substring="The First Age">The codex states “The Binding of Reshkai” occurred in the First Age, matching the text.</violation> <violation entry="133" detail="category" paragraph="1" substring="Religion">The codex states “The Order of the Closed Eye” is a religion, matching the text.</violation> <violation entry="134" detail="name" paragraph="1" substring="The Ashfall">The codex states there is lore called “The Ashfall”, matching the text.</violation> <violation entry="135" detail="category" paragraph="1" substring="History">The codex states “The First Age” is a history, matching the text.</violation> <violation entry="146" detail="timePeriod" paragraph="1" substring="A thousand years before the Felling">The codex states “The Riven War” occurred a thousand years before the Felling, matching the text.</violation> <violation entry="147" detail="category" paragraph="1" substring="Prophecy">The codex states “The Watcher’s Prophecy” is a prophecy, matching the text.</violation> <violation entry="148" detail="category" paragraph="1" substring="Tradition">The codex states “The Tithe of Echoes” is a tradition, matching the text.</violation> <violation entry="149" detail="name" paragraph="1" substring="The Pallid Host">The codex states there is lore called “The Pallid Host”, matching the text.</violation> </violations> ```
created_at
"2026-02-21T22:59:00.521Z"
2/21/2026, 10:59:00 PM
model
"google/gemma-3-4b-it"
app_id
182717
external_user
(null)
streamed
true
cancelled
false
latency
226
moderation_latency
(null)
generation_time
19331
tokens_prompt
2614
tokens_completion
1794
native_tokens_prompt
2824
native_tokens_completion
1883
native_tokens_completion_images
(null)
native_tokens_reasoning
0
native_tokens_cached
0
num_media_prompt
(null)
num_input_audio_prompt
(null)
num_media_completion
0
num_search_results
(null)
origin
"https://ncbench.com/"
is_byok
false
finish_reason
"stop"
native_finish_reason
"stop"
usage
0.0002636
router
(null)
provider_responses
0
endpoint_id
"d3de3bd4-81bc-48fb-924f-2a87b2a36e75"
id
"chatcmpl-R9g1MV0u8DZbLdXXEoXa0B6S"
is_byok
false
latency
93
model_permaslug
"google/gemma-3-4b-it"
provider_name
"DeepInfra"
status
200
api_type
"completions"
id
"gen-1771714740-fKKDCWArXeq5INUNkkNd"
upstream_id
"chatcmpl-R9g1MV0u8DZbLdXXEoXa0B6S"
total_cost
0.0002636
cache_discount
(null)
upstream_inference_cost
0
provider_name
"DeepInfra"
Evaluation details
Result
Evaluator
Details
Meta Data
0.00%
Correct "no violations" response
Response should contain <violations-none/> or equivalent phrasing
hasViolationTags
true
hasViolationsNoneTag
false
matchedPhrase
(null)
2.33%
No hallucinated violations
Response must not contain any <violation> tags
hasViolationTags
true
responseLength
6947
violationCount
42
1.1628%