← all organisations

ukgovdatascience / Code

17 languages, 25.4 MB of source, and what the live estate is written in today.

Language figures come from GitHub's own per-repository byte counts, which measure source rather than a single headline label. File counts and repository sizes come from the mirrors themselves. The two tell different stories, and the difference is the point.

The codebase

17
languages in use
25.4 MB of source
2.7k
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
899.2 MB
largest repository
govuk-lda-tagger

What stands out

One archived repository holds 65% of all the bytes.

govuk-lda-tagger is 899.2 MB of git - a 2013 static snapshot of www.gov.uk, not source code. It single-handedly makes HTML the largest language by volume (71% of all source bytes). Any size or language statistic that does not exclude it is measuring an archive, not a codebase.

Sizes here are GitHub's reported figures.

This organisation was harvested with blobless partial clones, which fetch every commit and file path but not file contents, so there is no local size to measure against. Checked elsewhere in this dataset against 1,526 fully mirrored repositories, GitHub's reported size is accurate to within about six percent.

Ruby is the house language, but its share is falling.

Ruby is the primary language of 0% of archived repositories but only 0% of live ones. Python, Go, TypeScript and HCL have taken the difference - the signature of a shift from monolithic Rails publishing apps toward data pipelines, infrastructure-as-code and platform tooling.

Most repositories are small; a handful are enormous.

67% of repositories are under a megabyte of git data. The estate is not a monolith - it is a very long tail of small services, gems and prototypes around a few large publishing applications.

Languages, two ways

By volume of source

Bytes of code. Dominated by archived static HTML.

HTMLHTML: 18.1 MB18.1 MBJupyter NotebookJupyter Notebook: 4.8 MB4.8 MBCSSCSS: 1.5 MB1.5 MBRR: 321.4 kB321.4 kBJavaScriptJavaScript: 287.6 kB287.6 kBPythonPython: 225.4 kB225.4 kBHCLHCL: 91.0 kB91.0 kBShellShell: 48.2 kB48.2 kBLuaLua: 35.5 kB35.5 kBMakefileMakefile: 15.1 kB15.1 kBRubyRuby: 8.2 kB8.2 kBGoGo: 6.9 kB6.9 kBBatchfileBatchfile: 5.1 kB5.1 kBNginxNginx: 2.6 kB2.6 kB

By number of repositories

How many repositories name each language as their primary one. A better guide to what engineers actually work in.

PythonPython: 1818ShellShell: 1717RR: 1515HTMLHTML: 1313CSSCSS: 88JavaScriptJavaScript: 77Jupyter NotebookJupyter Notebook: 55MakefileMakefile: 55HCLHCL: 33TeXTeX: 22LuaLua: 22GoGo: 11BatchfileBatchfile: 11SCSSSCSS: 11

Live estate versus archive

The same language ranking, split by whether the repository is still active. The shift is the clearest signal of technical direction in the whole dataset.

Active repositories

PythonPython: 00RR: 00HTMLHTML: 00Jupyter NotebookJupyter Notebook: 00CSSCSS: 00HCLHCL: 00ShellShell: 00JavaScriptJavaScript: 00

Archived repositories

PythonPython: 99RR: 99HTMLHTML: 77Jupyter NotebookJupyter Notebook: 55CSSCSS: 44HCLHCL: 33ShellShell: 22JavaScriptJavaScript: 11

Scale

Repository size distribution

Git data per repository, log-ish buckets.

129630< 10 kB: 9< 10 kB< 100 kB: 11< 100 kB< 1 MB: 12< 1 MB< 10 MB: 7< 10 MB< 100 MB: 7< 100 MB100 MB +: 2100 MB +

Commits against files

Each circle is a repository, sized by number of distinct authors. Both axes are logarithmic. The diagonal band is the normal relationship between codebase size and churn; outliers above it are long-lived apps with heavy iteration, below it are dumps and imports.

1.3k322.180.320.05.039.932.7108.1357LDA_dataprep: 34 commits, 8 files, 4 authorsPython-for-Analysts: 8 commits, 69 files, 2 authorsacceleratorprojects: 9 commits, 8 files, 5 authorsanalyst-sandbox-concept: 306 commits, 169 files, 4 authorsanalytics-platform-auth0: 98 commits, 4 files, 10 authorsanalytics-platform-ops: 1,291 commits, 196 files, 22 authorscoffee_and_coding: 13 commits, 11 files, 2 authorscommunity-playbook: 58 commits, 14 files, 1 authorscookiecutter-data-science: 17 commits, 22 files, 2 authorscookiecutter-data-science-gds: 207 commits, 52 files, 47 authorsdata-science-accelerator-config: 12 commits, 32 files, 1 authorsdata_scientist_career_path: 10 commits, 3 files, 4 authorsdatabox: 104 commits, 11 files, 6 authorsdjango-auth0-auth: 7 commits, 21 files, 3 authorsdotfiles: 44 commits, 5 files, 9 authorseesectors: 165 commits, 185 files, 6 authorseesectorsbookdown: 75 commits, 24 files, 6 authorsgithub-workshop: 43 commits, 133 files, 5 authorsgovdown: 335 commits, 357 files, 10 authorsgovdowntest: 216 commits, 329 files, 5 authorsgovstyle: 103 commits, 100 files, 12 authorsgovuk-lda-tagger: 350 commits, 137 files, 10 authorsgovuk-lda-tagger-image: 66 commits, 12 files, 4 authorsgovuk-lda-tagger-lite: 32 commits, 25 files, 5 authorsgovuk-lda-tagger-tf: 5 commits, 9 files, 2 authorsgovuk-statistics-amendment-watch: 8 commits, 17 files, 1 authorsgovuk-taxonomy-ml-image: 22 commits, 13 files, 3 authorsgovuk-tech-docs-sphinx-theme: 111 commits, 105 files, 3 authorsgovuk-word-embedding: 113 commits, 11 files, 6 authorsorgsurveyr: 177 commits, 79 files, 5 authorsrap-website: 160 commits, 75 files, 12 authorsrap_companion: 240 commits, 136 files, 11 authorssandbox-deploy: 40 commits, 12 files, 5 authorssandbox-tech-docs: 11 commits, 89 files, 3 authorsstatspicker: 17 commits, 72 files, 3 authorssurveyanalysis: 42 commits, 61 files, 4 authorstesting_for_ds: 7 commits, 13 files, 3 authorstomatosoup: 21 commits, 8 files, 10 authorstopic2vec: 6 commits, 16 files, 3 authorswmms: 16 commits, 40 files, 2 authorsfiles at HEAD (log)commits (log)

The shape of a repository

Directory layout is the cheapest reliable signal of what a repository actually is. app/ with config/ and spec/ is a Rails application; src/ with test/ is Java or Node. Counted by how many repositories contain each top-level directory at HEAD.

Most common top-level directories

teststests: 1212manman: 88RR: 88docsdocs: 66instinst: 55datadata: 55srcsrc: 44packratpackrat: 33sitesite: 33liblib: 22.git-crypt.git-crypt: 22chart-env-configchart-env-config: 22configconfig: 22imagesimages: 22node_modulesnode_modules: 22scssscss: 22vignettesvignettes: 22inputinput: 22

Most common file extensions

By total file count across the estate.

.png.png: 289289.scss.scss: 254254.md.md: 227227.gz.gz: 206206.html.html: 170170.r.r: 137137.njk.njk: 118118.js.js: 111111.py.py: 104104.ipynb.ipynb: 9090.rmd.rmd: 8585.json.json: 8181.tf.tf: 8181.yml.yml: 7878.rd.rd: 7373.csv.csv: 5151

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
govuk-lda-taggerJupyter Notebook899.2 MB350137archived
rap-websiteShell171.0 MB16075archived
rap_companionR78.7 MB240136archived
govuk-statistics-amendment-watchHTML60.9 MB817archived
eesectorsR55.4 MB165185archived
github-workshopCSS37.2 MB43133archived
statspickerR27.4 MB1772archived
topic2vecJupyter Notebook13.8 MB616archived
govstyleR12.2 MB103100archived
govdownHTML6.7 MB335357archived
LDA_dataprepPython5.9 MB348archived
govdowntestHTML4.0 MB216329archived
Python-for-AnalystsJupyter Notebook2.5 MB869archived
analytics-platform-opsHCL2.4 MB1,291196archived
coffee_and_codingHTML1.0 MB1311archived
govuk-tech-docs-sphinx-themeCSS1.0 MB111105archived
analyst-sandbox-conceptHTML945.2 kB306169archived
cookiecutter-data-science-gdsPython694.3 kB20752archived
accessibility_failsHTML641.0 kB36archived
orgsurveyrR590.8 kB17779archived