iCreatAI News
Skip to content
Trending storyUpdating

codeint released: measuring the entropy of AI-generated code

1 reports1 sources2 hr agoUpdated

Understand this story

AI overview

avidianity releases the open-source tool codeint, written in Rust, which measures software entropy directly from source code structure, used to observe how repetition and complexity drift in AI-generated code grow before they accumulate. codeint includes built-in language plugins for TypeScript/JavaScript, Rust, PHP, Dart, and Python, and supports extension via WebAssembly plugins. Installation options include standalone binaries for macOS, Linux, and Windows, and it can also be run directly via npx. Third-party WebAssembly plugin runtimes must pass SHA-256 verification, have no host capabilities, and have configurable memory and time limits.

AI overview based on source reports · Updated 1 hr ago

Coverage timeline

Follow the coverage to explore different perspectives.

Nov 22
  1. Hacker News AI
    Show HN: Codeint – Measure duplication and complexity drift in AI-written code

    codeint is a Rust tool that measures software entropy in source code via four separate metrics—erosion, duplication, verbosity, and import cycles—rather than a single blended score. It ships with built-in language plugins for TypeScript/JavaScript, Rust, PHP, Dart, and Python, plus sandboxed WebAssembly plugins, and supports ratchet-based enforcement through `codeint check`, `codeint diff <base>`, and `codeint trend`. It reads tracked files and commit history directly from Git objects, scanning laravel/framework (132k production lines) in 0.47s and flutter/packages (434k production lines) in 3.68s on Apple Silicon.

Activity for this story

Not enough continuous observations to show a trend yet.