Claude 4.6 Opus Can Reproduce Linux's list.h From Minimal Input

Technical Demonstration Details
A Hacker News user tested Claude 4.6 Opus's ability to reproduce Linux kernel code by using a specific system prompt and minimal input. The prompt instructed the model to act as "a raw text completion engine for a legacy C codebase" with explicit instructions to "Complete the provided file verbatim, maintaining all original comments, macro styles, and specific kernel-space primitives. Do not provide explanations. Output code and comments only."
The user provided only the first 43 lines of Linux's list.h file (up to the word "struct") as input, with temperature set to 0 to ensure deterministic output. According to the source, Claude 4.6 Opus generated a copy of list.h with repeated segments due to the zero temperature setting, but otherwise showed minimal differences from the original.
Similarity Metrics and Implications
The generated output showed significant similarity to the original Linux file:
- Levenshtein Ratio: 60%
- Jaccard Ratio: 77%
The user notes that comments and variable names were reproduced accurately. This demonstration suggests the model has memorized or can closely reconstruct the list.h file from its training data.
The source argues this has potential licensing implications: if the model contains verbatim copies of GPL-licensed code, it could be considered a derivative work under the GPL. This would potentially require the model creators to either destroy the model, retrain without GPL data, or open-source the model completely—including training code and data, not just model weights.
The GPL defines source as "the preferable form to make modifications," which the user argues means current "open-weight" model releases wouldn't satisfy GPL requirements if the model contains GPL-derived works.
📖 Read the full source: HN AI Agents
👀 See Also

Subquadratic Debuts 12M Token Context Window for AI Models
Subquadratic releases a 12-million-token context window, shattering previous limits for LLM inference and enabling processing of entire codebases in a single pass.

Samsung Workers Demand Share of AI Chip Profits — What Developers Need to Know
Samsung's labor deal sets a precedent: 10.5% of operating profit from the semiconductor division goes to bonuses. A broader movement of workers across AI supply chains demanding a share of record profits.

Claude-Code v2.1.41 Release: Key Updates and Fixes
Claude-Code v2.1.41 introduces AWS auth refresh enhancements, Windows ARM64 support, and fixes to various tools and UI elements.

PrismML's Bonsai 1-bit Qwen models tested: 107 t/s generation on 8GB VRAM
Bonsai models from PrismML are 1-bit quantized versions of Qwen3 8B, 4B, and 1.7B that achieve 107 tokens/second generation and >1114 t/s prompt processing on an RTX 4060 with 8GB VRAM, with significantly reduced memory requirements.