Facens

Joined 16 years ago

Karma
262
Submissions
134
Member since
Nov 9
Founder and Chairman of http://www.iubenda.com , Privacy Policy generator for websites. Web Designer by the age of 10. Eclectic by design.

twitter.com/Facens

View on Hacker News

Recent submissions

Comment · 6 months 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

Comment · 9 years ago
What about Project of the month on www.unixstickers.com/donations ? I can help
Comment · 9 years ago
What was the use case exactly? The readme doesn't go into much detail about this aspect
Comment · 9 years ago
Ye there are all sorts of modules. There is also a free version, while the paid one is $27/yr.
Comment · 9 years ago
Have you ever checked out iubenda (http://www.iubenda.com)? That's pretty much what it does, with 600 modular clauses in 8 languages.
Comment · 10 years ago
"profitable growth"?

:puzzled:

Comment · 11 years ago
Comment · 12 years ago
Ehrr, feedback taken...
Comment · 12 years ago
The site was probably down, too many requests, now we scaled the server and it's kind of coping...
Comment · 12 years ago
Ye this was a WE project that just looked so cool, and some of the libraries needed were already out there. Opensourcing & moving everything to telnet/ssh is probably the next step. For now it was just fun :P
Comment · 12 years ago
Eehhmm that's because our customers rule? XD Ok, this one was lame :>
Comment · 12 years ago
Back up anyway with a scaled configuration

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton