Case-based reasoning on the net: you give a topic, each case yields the next, and every case is one literal sentence with its source and revision.
/investigator — investigating a topicType a topic in your own words and pick the Wikipedia language (en or nl). After about a minute the chain is there. At the top you see how many cases were found, why the search stopped (maximum number of cases, depth, saturation, time, or nothing left to follow) and how many requests were throttled.
The chain. Each case is a card with the sentence in quotes, the source with its revision number (the link opens exactly that version of the article), the relevance and the depth. Above the card is via: the person, institution or concept through which this case was found. Indented below a case are the cases it yielded. Under the sentence are the names the case itself mentions; those are the possible next steps. A name in red has no article.
The space and the player (30-10). Above the chain, the search is shown as movement through space. Each point is a case: gold from Wikipedia, blue from the casebank, purple an earlier case. The angle follows the branch (which case yielded which), the distance from the centre the depth, the height the steps up and down. The colour of a line is the step that yielded the case: orange up, teal down, red sideways, green back. With ▶ you replay the search in the order it happened; the slider is the timeline. With read aloud the browser reads every literal sentence (not paraphrases). Click a point for the sentence, the source and the case that yielded it. Without 3D, or with the 2D button, the same space is shown as a flat drawing.
Kept permanently. Every case stays in the casebank: the sentence, the receipt, the entity, the parent, the direction of the step and the date. The database refuses to rewrite or delete a case. Every new investigation first retrieves earlier cases from that bank, and only then the web. export (json) gives you an investigation as a file.
Earlier cases. A card with a dashed border comes from an earlier investigation (the casebank), for instance from the delivery about the war in Ukraine. The names in such a case are followed too: that is how an old case yields a new one.
Open spots, two kinds. Nothing found: the name was visited but yielded nothing, is a namesake (disambiguation page, surname, or an article that names neither the topic nor the parent), or has no article (red link). Not visited: the name was still on the frontier when the search stopped. Namesakes are always listed; other names only when they occur in two or more cases.
Bridge and MAZE. The bridge button shows related pieces from other kinds of sources in the MAZE (proofs, essays, patents, blogs). Where it says MAZE, the case itself has become a resident of the net and the link takes you to its address.
The reference case. The list holds fixed investigations about the war and about the nitrogen crisis about the war: Claude-monitor's delivery as it arrived (459 cases, paraphrases with news sources), its rebuild as a chain, and a Wikipedia chain about corruption in Ukraine's energy sector, before and after plan-4.
Limits. By default 40 cases (5 to 80) and depth 3 (1 to 4), at most 4 minutes per investigation. At most 3 investigations per hour per address, 30 per day in total, a queue of 5. The tests run with 60 cases and depth 3. No news articles and no judgement of guilt: a sentence is a sentence from a source, not a verdict.
Your question is understood first (7 Nov). Typos, Dutch or English: a language model reads your question and picks the Wikipedia articles it is about ("finestructureconstant" becomes Fine-structure constant). It writes nothing into a case; an article that does not exist becomes an open spot. In addition, literal sentences from the own books and essays of J. Konstapel are added (source eigen, with the pdf as receipt), but only when they lie above their own chance threshold; a question about inflation or CRISPR does not get them.
Kays is the start of the line Kays → AYYA → SWARP → MAZE, and stands for case: case-based reasoning. The investigator follows the cycle of Aamodt and Plaza (1994). Retrieve: earlier cases in the casebank that resemble the topic, and the MAZE itself (the loop lands the topic on a resident). Reuse: the names in a case become the next question. Revise: a case only counts if its sentence stands literally in exactly that revision; otherwise it is dropped. Retain: the cases are kept and become residents of the MAZE.
Relevance, always tested against the topic (plan 8, 18 Nov). A case counts only if (a) it is closer to the topic than 95% of 400 frozen random Wikipedia sentences, and (b) closer than 99% of them to the topic, or to the case that brought it in. Before plan 8 a case inherited relevance from its parent as long as the topic was not below the median; that let the chain drift. Both scores are stored with each case.
Only proper names are a next step (plan 8). A name in a case is followed only if it is a person, an organisation or an event with a place, by its class in Wikidata. Countries, regions, languages and general concepts (Netherlands, Nitrogen, Kickback (finance)) stay in the case but are not a step. A disambiguation page or surname is never a target, and a target article must name the topic or the parent; otherwise it becomes an open spot with the reason namesake.
Where the cases come from. (1) Wikipedia: one literal sentence in one revision. (2) The casebank: earlier investigations, only when strongly similar to the topic (cosine ≥ 0.45). (3) The own works of J. Konstapel (maze/eigen/): literal sentences with the pdf as receipt, only above their own chance threshold (0.450). A language model (gpt-4o) picks the starting articles and restates the question in clean English; it writes nothing into a case. An embedding measures relevance.
Back and forth, up and down (plan-4). After Hans' blog De Kubus Waarin de volledige Natuurkunde Past: every step is a cell with two trits. Up or down follows from the breadth of the article (how many articles link to it); out or back from whether the article links back to what was already read. An excursion (up to a general concept, or out to a namesake) only remains if it comes back: only sentences that name an article already read. What closes, remains. The card shows the cell as arrows (↑ ↓ → ←). Judged blind again: relevance 20 of 20 (3 on target, 17 in context), chain 20 of 20; plan at /investigator/plan-4.
The horizontal axis is out of the ordering (plan 8). In the tests all 46 steps got the same back/forth value (back); the axis told nothing apart. A side step now follows from up (breadth) only. Back/forth is still shown per step.
The second topic: the nitrogen crisis (31-10). The delivery behind the essay Eat What You Feed the Animals (24 cases, 8 patterns, 146 sources) is the second reference case in the casebank, next to a Wikipedia chain on the same topic. There the method failed: the blind judge found 4 of 20 sentences relevant. The chain ran through countries (Germany, France, Switzerland) and a namesake ("Van Essen" as a surname). The closing rule closed on the layer of countries, not on the topic. The post-check also found one real misquote (a dropped isotope number). The extractor is fixed; the case carries the label post-check correction. See the outcome.
What the tests say, including what failed. The receipts hold: in every run each sentence stood literally in its revision and 3 of 3 planted errors were caught (one real misquote in the nitrogen run of 31 Oct was found and fixed). Relevance is the weak point:
Code in maze/investigator/: investigator.mjs (the core: retrieve, frontier, admission, stopping rule, open spots, saving, behoud via neemOp), bron-wiki.mjs (MediaWiki action=parse with revision, sentences with their links and red links, and the independent nacontrole), eigennaam.mjs (plan 8: class from Wikidata, namesakes), begrip.mjs (a language model picks the starting articles), eigen.mjs (the own works), haal.mjs (retries with growing pauses; throttling counted separately; above 10% throttled an investigation is invalid), route.mjs, pagina.html, toets.mjs (I-1 to I-4), maak-referentie.mjs and data/referentie.json (the frozen 400 sentences), data/cases.jsonl (the delivery, unchanged).
Tables inv_onderzoek and inv_case, append-only enforced by the trigger inv_case_blijvend_t (only vector, MAZE address and direction may go once from empty to filled), with columns richting and gemaakt (parent as sequence number within the investigation, vector as float32 bytea). At start-up the server reads the delivery and the fixed reference runs from toets/ (I-1, plan 3, plan 4, nitrogen, and T-1/T-2 of plan 8), and places their cases as residents (source investigator:<slug>, kind case). One investigation at a time, queue of five. Embedding: text-embedding-3-small, the same as the MAZE gate.
node investigator/toets.mjs i1|i2|nacontrole|i4 RUN=-t1-plan8 node investigator/toets.mjs i2 · t3 <runs> · t4 · h <runs> node investigator/toets.mjs i3maak <own folder for the judge>
/api/investigatorlist of investigations, the running one and the queue/api/investigator/start{onderwerp, taal: en|nl, N ≤ 80, diepte ≤ 4} → 202 {slug}; limit 3 per hour per address/api/investigator/status?slug= → phase (wacht, loopt, bewaren, klaar, fout), number of cases, current entity/api/investigator/onderzoek?slug= → the investigation with all cases (receipt, url, revision, entity, ouder_volg, depth, relevance, entities, MAZE address); 202 while running/api/investigator/brug?slug=&volg= → the MAZE bridge for one case: related pieces from other source kinds/investigator/planplan 8 with addendum 8b (hashed, 18 Nov); every earlier plan at /investigator/plan-1 … /investigator/plan-7/api/investigator/casebankthe state of the casebank: cases, investigations, literal, in the MAZE, append-only enforced (yes/no)/api/investigator/export?slug= → the investigation as a json file (format maze-investigator/1): per case sentence, receipt, entity, parent, direction, step, date, MAZE address/investigator/ruimte.jsthe spatial view (three.js 0.160.0, SVG fallback in 2D)/investigator/plan-4plan-4 (hashed): back and forth, up and down; likewise plan-1 to plan-8b/investigator/uitkomstthe test outcome, including what failed