Source Authorship Forensics

Porcupine — human-written, or AI-generated?

A source-level read of TheChii/Porcupine-Chess-Engine, contrasted with Stockfish.

Author Chiriac Theodor (TheChii)Language RustScope ~56 Rust files · 104 commitsEval Hand-crafted (HCE)Analyzed 2026-07-10Stockfish similarity Independent →
Verdict · Human-Written

A hand-built Rust engine, iterated with real judgement.

Porcupine is a single-author Rust engine with a 104-commit history that includes the kind of decision an AI dump never makes: the author tried NNUE, then stripped it back out and reverted to a hand-crafted evaluation (“Strip NNUE evaluation and revert to HCE only”). That is a person exercising judgement about their own project.

Commits show ordinary human maintenance — repetition-detection fixes, comment shortening, removing empty files. No AI residue.

Confidence: High — incremental, judgement-driven, human development.

Part of a series applying the same lens to chess-engine repositories — from the AI-pasted Luna and agent-built Owen, through the AI-assisted Triumviratus, to a range of human-written engines.  See the full index →

1Evidence

Design reversals and housekeeping — the texture of a real owner.

#SignalWhat it showsWeight
1Added, then removed NNUE and reverted to HCE (a deliberate design reversal)Human judgement about the project’s directionDecisive
2104 single-author commits: repetition fixes, custom move generator, housekeepingSustained hands-on developmentStrong
3Custom move generator and hand-crafted evaluation written from scratchOriginal engineering, not a templateStrong
4Zero AI residue or agent artifactsNo generated-code fingerprintsSupport

2Compare & contrast with Stockfish

Where it resembles Stockfish
Bitboard core; alpha-beta search with a transposition table
Hand-crafted evaluation lineage
Repetition / fifty-move correctness handling
Versioned, iterative releases
Where it differs
Rust vs C++; one author
HCE by deliberate choice (NNUE removed)
Custom, from-scratch move generator
Smaller, younger hobby engine

Bottom line

Porcupine is a human-written engine — a from-scratch Rust project whose author made and reversed real design decisions along the way. That kind of judgement, visible in the commit history, is a hallmark of genuine human authorship.