{
  "id": 22581369,
  "title": "Code churn in 51 Python repos: Django's busiest 10% of files take 96% of the changes",
  "url": "https://urgent.news/2026/11/29/code-churn-in-51-python-repos-djangos-busiest-10-of-files-take-96-of",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-29T13:00:00.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/repowise/code-churn-in-51-python-repos-djangos-busiest-10-of-files-take-96-of-the-changes-3mk5"
  },
  "original_language": null,
  "account": "Code churn, measured as the number of added plus deleted lines in files over a period, was analyzed across 51 popular Python repositories. In the median of these repositories, 10% of production files accounted for 96% of the churn in Django, with the busiest tenth of the codebase taking 96% of every line added or deleted over 90 days. This pattern was observed in 39 out of the 51 repositories, where half or more of the churn landed in 10% of files. The analysis found that churn concentration varies greatly between repositories, depending on the number of files changed during the period. Repositories with fewer than half of their files changed have a median churn concentration of 93% in the busiest 10% of files, while those with nearly every file moved see a median of 46%. The script provided can be used to measure churn concentration for any set of paths in a Git repository.",
  "summary": "TL;DR Code churn is lines added plus lines deleted per file over a time window. Over 90 days, in the median of 51 popular Python repos, the busiest 10% of production files took 66% of all churn and the busiest 1% took 23%. Django sits at the top of that range: 96% of its 90-day churn landed in 10% of its production files at its July index. A fresh git log run on 17 November gives 92%. The spread…",
  "summary_source": "publisher",
  "key_points": [
    "10% of files in Django repos account for 96% of code churn",
    "Churn concentration varies between repositories based on file changes",
    "Script provided to measure churn concentration in any Git repo"
  ],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}