What broke
Same result, written two ways: the dedup rules behind the person pages
We checked all 20 person pages on kokkekunst.no by hand and added about 35 missing lines. That exposed three ways the same fact could show up twice. Each fix is a small rule: one key per person, one key per result, and the hand-written list wins.
The short version
What went wrongThe same fact showed up twice or split across people. Names with and without an accent became two people, and results differing only in detail or competition spelling counted as separate.
How we found itHenning noticed one chef had won more than his page showed. A hand check of all 20 pages then added about 35 lines and exposed the duplicate keys.
The rule nowA person is a slug, not a string. A result is year, normalised competition and placement. The hand-written list wins, and the engine skips results the page already lists.
This post documents something Claude got wrong. The claim rests on a commit or a file, not on memory. All of Claude's mistakes
The kokkekunst.no site has a page for people who appear in its results. Each page lists that person’s results: national championships, Bocuse d’Or placings, Årets kokk (Chef of the Year) awards. A person page adds nothing new. It just arranges results we already have a source for. That makes the page only as good as the code that decides when two lines are the same fact.
On 10 November 2026 we found several places where that code got it wrong, all in the same evening. Claude wrote all of it, as it writes all code in these repos. The commit messages describe each fault plainly.
Step one: one person counted as two
The first problem showed up when Henning noticed that one chef had won far more than his page showed. The cause was in how the site combined its sources. The national championship organiser writes the chef’s name without an accent. The Bocuse d’Or sources write it with one. The person code used the exact name string as its key, so the two spellings became two people. The page had his national titles. His Bocuse medals were on no page at all, because the code that builds person pages had never read the Bocuse data.
The fix in commit b54fe57 changed the key from the raw name to the URL slug, which drops accents, case and punctuation. When sources spell a name differently, the page shows the accented version. The old build stop for “two different names, same slug” was removed, because those names now count as one person.
The merge has a limit, on purpose. The winners’ list holds two names where one has an extra middle name. They are probably the same man, but no source says so. The code comment says it directly: merging them would be a claim we cannot back up. They stay separate. The rule only merges the same name written differently, never different names.
After this commit the site went from 15 person pages to 20, and none of the old pages disappeared.
Step two: the hand check
Next Henning asked us to check every person on the site so that no result was missing. He also asked that the list should build itself when a news story about a person comes in.
The session log says three agents did the review. They covered all 20 pages, and every line was read in its source with a quote. Commit 439537e added about 35 lines with a source each. That count comes from the changelog for 10 November 2026. Some examples from the changelog:
- a 2024 national championship gold that the page had missed, while it did show the same chef’s silver from this year
- several Årets kokk titles from 2007, 2011 and 2013
- a category gold at the 2024 Culinary Olympics (Kokke-OL), where the page had said only “took part”
- a 5th place in Bocuse d’Or 2013, which also filled a gap in the Bocuse list
The review caught two lines that nearly went in wrong. A “best commis” award at the 2022 national championship would have been shown as “Norwegian champion”. It now appears as taking part, with the award in the detail. A “young chef of the year” title came from a search summary, and the summary was about a different person. That line was left out.
The same commit changed the summary at the top of each page so the best result comes first. Before, the source decided the order, so one chef was described with “silver in the national championship” before “Norwegian champion 2024”.
To hold all this, the commit added a new data file with two parts: a hand-written list (the review) and a JSON file written by a merit step in the newsroom engine. That second part is what made the next two problems show up.
Step three: same result, two spellings
Now two writers could add the same result. Commit 4da0d94 gives two cases.
First, the duplicate check keyed each result on year, competition, placement and detail. If the engine found the 2024 national gold with a detail line and the hand list had it without one, the page would show it twice.
Second, competitions are spelled differently by different sources. “Jeunes Chefs des Rôtisseurs” and “Jeunes Chefs Rôtisseurs” are the same competition. Lowercasing alone treated them as two.
The fix added a normalised competition key. It lowercases the name, strips accents, drops the small words des, de, du, the, of and removes everything that is not a letter or digit. The detail was taken out of the result key, so a result is now year, competition and placement. The first version seen wins, and the hand list is read before the engine’s file. In the commit message: “Håndlista vinner”, the hand list wins.
Step four: the engine queued what was already there
The last fault was on the engine side. The merit step queued results that were already on the person page. The commit names one: a chef’s 2026 national silver. The engine had no way to see what the site showed, short of parsing TypeScript files in another repository.
Commit c8b93f2 added a machine-readable route on the site that lists every person with name, slug and each line on their timeline (year, competition, placement). The engine reads it and skips results the page already has. The route publishes only what the pages already show. Sources stay on the pages.
What was left out
The changelog lists what the review chose not to add: roles like coach, manager and commis, Michelin stars (they need their own display), special prizes in Bocuse d’Or, and anything found only in a person’s own CV or on Wikipedia.
The rules
Four commits in about 25 minutes, between 21:24 and 21:47. Each one adds a small rule:
- A person is a slug, not a string. The same name with and without an accent is one person. Different names stay different until a source says otherwise.
- A result is year, normalised competition and placement. Detail text and small spelling differences do not make a new result.
- The hand-written list wins. When the hand list and the engine both have a result, the checked line stays.
- The writer checks the page before queueing. The engine reads what the site already lists and skips it, so the site does not have to clean up after it.