Writing fingerprint analysis of responses reveals Kimi's similarity to Claude

https://news.ycombinator.com/rss Hits: 1
Summary

You're relatively right!Which LLM models write alike? A heat map built from their words alone.--- format: typebulb/v1 name: "You're relatively right!" --- **code.tsx** ```tsx import React, { useEffect, useMemo, useState } from "react"; import { createRoot } from "react-dom/client"; import { encode } from "gpt-tokenizer/encoding/cl100k_base"; // ── Types ──────────────────────────────────────────────────────── type RawResult = { testId: string; testName: string; subject: string; score: number; response: string; response2?: string; reasoning: string; error?: string; }; type RawData = { timestamp?: string; judge?: string; results: RawResult[] }; type MetaRow = { match: string; lab: string; released: string | null }; type Counts = { map: Map<string, number>; n: number }; type Bg = { words: Counts; phrases: Counts; common: Set<string> }; type ModelRow = { name: string; disp: string; // "<true lab>: <model>" — OpenRouter entries resolve to their real lab lab: string; released: string | null; // YYYY-MM, from the data block; null until supplied chars: number; // corpus size grams: Counts; // char trigrams words: Counts; // word unigrams (for tell-tale display) phrases: Counts; // word bigrams (for tell-tale display) wordDf: Map<string, number>; // #answers containing each word phraseDf: Map<string, number>; // #answers containing each bigram docs: number; // answers in the corpus H: number; // own entropy, bits per trigram (raw MLE) }; // ── Text stats ─────────────────────────────────────────────────── const LAMBDA = 0.8; // interpolation: λ·model + (1−λ)·pooled background const lg = (x: number) => Math.log(x) / Math.LN2; function countGrams(text: string, k: number): Counts { const map = new Map<string, number>(); for (let i = 0; i + k <= text.length; i++) { const g = text.slice(i, i + k); map.set(g, (map.get(g) ?? 0) + 1); } return { map, n: Math.max(1, text.length - k + 1) }; } function countList(items: string[]): Counts { const map = new Map<string, number>(); for (con...

First seen: 2026-07-23 16:06

Last seen: 2026-07-23 16:06