frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Measure coding productivity with this Claude Code Plugin

https://github.com/Facens/coding-productivity
3•Facens•1h ago

Comments

Facens•1h ago
TLDR: I made a Claude Code plugin to measure coding productivity.

This helped us measure over +70% productivity in iubenda's dev team. Rationale and details follow.

For the past year I've been pretty obsessed with using AI for productivity improvement and I've been running initiatives to increase AI adoption within iubenda and team.blue, particularly amongst developers.

The challenge was to measure the results, but I saw problems with the most commonly used methods: - % of developers using Claude Code: pretty mute, just tells you who is using it, fine for initial rollout but doesn't really give you a sense of what the productivity really is, it's the kind of "tick the box" approach that leaves many companies with a very superficial AI adoption - Number of MRs / PRs: not the worst metric but very unreliable as different teams and developers have different styles in terms of sizes of the contribution (few but large vs many but small), which means that more or fewer MRs / PRs doesn't necessarily mean more or less productive team - Story points: not all teams use story points, plus story point scoring is a qualitative process and subjective. It also requires tracking story points across MRs / PRs / commits, which is very complex as very few teams have really deterministic connection between their git repo and their task management tool, meaning that issues in data coverage makes this method unreliable even on teams that actually use story points - Lines of code changed: I really like the objectivity of this metric, and if we keep as a constant the fact that a specific development team will keep the verbosity of their code and the mix between types of code (tests, translation, updates, comments, refactors, actual new code) indeed constant, then this metric is not bad at all, but in tests this still had huge variability due to large refactors or wide but low value changes skewing the metrics completely

Several weeks into the rabbit hole, I landed on using lines of code changed, BUT scoring them using Haiku. In essence, the plugin will: - Download all diffs from all repos you select, across all branches, and deduplicate them to avoid double-counting merge commits - Score each file diff with Haiku, giving it a weight that will score e.g. 0 a file change, low a translation change, low or zero a library update, high an actual genuine code change or refactor, etc (this can also act as code verbosity index) - Calculate a sort of "weighted lines of code" metric that you can plot over time to measure productivity improvements

Scoring is very cheap at around $7 per K commits.

The plugin also has a # of other features like creating reports, anonymizing developers with local hashing and the possibility to use BigQuery to share the database across a team.

I'm publishing it so you can grill me on the methodology, cross-check it, find bugs, you name it. All contributions welcome

apothegm•22m ago
Really? We’re back to using LoC as a metric? Have we learned absolutely nothing in the past 50 years?

Oh, never mind, we already know the answer to that…

Show HN: ColorPair – A free color-matching puzzle game for iOS

https://apps.apple.com/us/app/colorpair-puzzle-game/id6761508158
1•nykylomedia•31s ago•0 comments

Isaac Asimov on 1984

https://redsails.org/asimov-on-1984/
1•cybersoyuz•1m ago•0 comments

Why GEO is still kinda dumb

https://toffee.at/blog/why-geo-is-not-enough
1•Vishi_2•2m ago•0 comments

OpenAI is nothing without its people

https://geohot.github.io//blog/jekyll/update/2026/04/11/openai-people.html
1•eamag•4m ago•0 comments

Can AI Generate a Full Unity World from One Prompt? I Tested

https://darkounity.com/blog/can-ai-generate-a-full-unity-world-from-one-prompt-i-tested
2•hacker_13•5m ago•0 comments

NaiBor – Nashville public leadership tracking

https://clovenbradshaw-ctrl.github.io/naibor/
1•samename•5m ago•0 comments

Oil at $115: What a Hormuz Stress Model Shows

https://medium.com/@lightcapai/how-to-track-hormuz-risk-with-mcp-public-artifacts-and-reproducibl...
1•festafin•6m ago•0 comments

Rockstar Games Hacked, Hackers Threaten a Massive Data Leak If Not Paid Ransom

https://kotaku.com/rockstar-games-reportedly-hacked-massive-data-leak-ransom-gta-6-shinyhunters-2...
1•c420•8m ago•0 comments

What's obvious to you might not be to me

https://herbertlui.net/whats-obvious-to-you-might-not-be-to-me/
1•herbertl•8m ago•1 comments

Wheeeee Loop – A Superconductor Used Like a Battery

https://stateofutopia.com/experiments/wheeeeeloop/wheeeeeloop.html
1•logicallee•9m ago•1 comments

Macframe – IBM Mainframe Emulator for macOS

https://github.com/vitorallo/macframe-releases
2•rbanffy•14m ago•0 comments

Code Review Skills from uv, bun, vLLM

https://github.com/dtran24/code-reviewer-personas
2•dtran24•14m ago•0 comments

When Managers Cover Their Posteriors: Making Decisions the Market Wants to See

https://www.jstor.org/stable/2555842
1•rustoo•20m ago•0 comments

MCP Spine – Middleware proxy that cuts LLM tool token usage by 61%

https://github.com/Donnyb369/mcp-spine
3•Mxwell369•23m ago•0 comments

Gallup poll: GenZ AI adoption steady but skepticism on the rise

https://web.archive.org/web/20260410202758/https://news.gallup.com/poll/708224/gen-adoption-stead...
2•1vuio0pswjnm7•28m ago•1 comments

You should be able to SEE what your agents are doing. I created the solution

https://www.tarsy.dev/
2•leddo•29m ago•0 comments

Kids Are Discovering the Joys–and Pains–Of the Landline

https://www.wsj.com/lifestyle/kids-are-discovering-the-joysand-painsof-the-landline-f703d505
2•impish9208•29m ago•2 comments

Show HN: When Clocks Drift Apart

https://animeshchouhan.com/time/
1•animeshchouhan•29m ago•0 comments

We reverse-engineered Claude Code's billing system to fix overage charges

https://github.com/askalf/dario
2•askalf•30m ago•0 comments

Advanced Mac Substitute is an API-level reimplementation of 1980s-era Mac OS

https://www.v68k.org/advanced-mac-substitute/
3•zdw•33m ago•0 comments

What Is Hypernormalization?

https://adbusters.org/articles-coded/what-is-hypernormalization
1•burnt-resistor•34m ago•0 comments

Raising Carthaginian Armies, Part I: Finding Carthaginians

https://acoup.blog/2026/04/10/collections-raising-carthaginian-armies-part-i-finding-carthaginians/
1•gostsamo•34m ago•0 comments

Don't Be Evil

https://pluralistic.net/2026/04/11/obvious-terrible-ideas/
2•hn_acker•35m ago•0 comments

Preparing for My Own Funeral

https://chrisaustem.substack.com/p/preparing-for-my-own-funeral
2•putzdown•39m ago•0 comments

What tools do you use to visualize algorithms?

2•rjn32s•40m ago•2 comments

EU should regulate Big Tech, not banning kids from social media, Estonia says

https://www.politico.eu/article/europe-should-stand-up-to-big-tech-instead-of-imposing-social-med...
3•donohoe•42m ago•1 comments

The Structure of the Puma Computer System [pdf]

https://softwarepreservation.computerhistory.org/SETL/setl/doc/Grishman-Structure_of_Puma-1978.pdf
3•rbanffy•46m ago•0 comments

We replaced user accounts with Lightning payments for identity

https://blog.satsrail.com/payment-as-identity/
3•keymaker_p•47m ago•3 comments

Native Raspberry Pi 3B version of the Oberon System 3

https://github.com/rochus-keller/OberonSystem3Native/releases/tag/2026-04-10
3•HotGarbage•47m ago•0 comments

The Romance of the Gas Station Sign

https://www.theatlantic.com/ideas/2026/04/gas-prices-sign-driving/686759/
2•fortran77•47m ago•0 comments