← all organisations

ONSBigData / Code

11 languages, 718.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

11
languages in use
718.4 MB of source
5.2k
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
565.7 MB
largest repository
exploring_companies_house

What stands out

One archived repository holds 52% of all the bytes.

exploring_companies_house is 565.7 MB of git - a 2013 static snapshot of www.gov.uk, not source code. It single-handedly makes HTML the largest language by volume (73% 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.

50% 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: 527.4 MB527.4 MBJupyter NotebookJupyter Notebook: 188.8 MB188.8 MBPythonPython: 1.1 MB1.1 MBRR: 704.2 kB704.2 kBTeXTeX: 161.0 kB161.0 kBJavaScriptJavaScript: 123.1 kB123.1 kBCSSCSS: 101.8 kB101.8 kBScalaScala: 17.3 kB17.3 kBShellShell: 10.7 kB10.7 kBRubyRuby: 8.1 kB8.1 kBMakefileMakefile: 1.5 kB1.5 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: 2222Jupyter NotebookJupyter Notebook: 1717HTMLHTML: 1313CSSCSS: 77ShellShell: 66JavaScriptJavaScript: 55RR: 55TeXTeX: 22MakefileMakefile: 22ScalaScala: 22RubyRuby: 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: 1313Jupyter NotebookJupyter Notebook: 99HTMLHTML: 99RR: 44ScalaScala: 22JavaScriptJavaScript: 11

Archived repositories

PythonPython: 00Jupyter NotebookJupyter Notebook: 00HTMLHTML: 00RR: 00ScalaScala: 00JavaScriptJavaScript: 00

Scale

Repository size distribution

Git data per repository, log-ish buckets.

118.25.52.80< 10 kB: 1< 10 kB< 100 kB: 7< 100 kB< 1 MB: 11< 1 MB< 10 MB: 9< 10 MB< 100 MB: 8< 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.

329.0115.540.614.25.0317.298.7566.43.2kESSnet-WP7-UK-Case-Study: 71 commits, 20 files, 2 authorsEU-hackathon: 5 commits, 5 files, 3 authorsExtracTED: 41 commits, 17 files, 1 authorsLCF-project: 70 commits, 32 files, 5 authorsMeasuring-Sustainability-Reporting: 12 commits, 14 files, 1 authorsONSBigData.github.io: 111 commits, 221 files, 4 authorsONS_Twitter: 216 commits, 43 files, 4 authorsOpencellID-analysis: 100 commits, 33 files, 1 authorsRSS-2018: 11 commits, 68 files, 2 authorsScraping-demo: 6 commits, 5 files, 1 authorsWho-you-work-with: 12 commits, 8 files, 1 authorsbokeh_seed: 14 commits, 23 files, 3 authorsbristol_data_dive: 11 commits, 277 files, 1 authorscompanies_house_filing_fetcher: 22 commits, 23 files, 3 authorscompanies_house_ocr_runner: 25 commits, 35 files, 3 authorsdcm-transcripts-new: 62 commits, 86 files, 3 authorsdpm.dash: 37 commits, 36 files, 6 authorsdrift_detection_model_retraining: 5 commits, 3 files, 1 authorsexploring_companies_house: 5 commits, 3,249 files, 1 authorshousing-websites: 6 commits, 6 files, 3 authorshousing_clf: 37 commits, 10 files, 4 authorslabelpropagation_clothing: 29 commits, 17 files, 5 authorsparsing_company_accounts: 48 commits, 440 files, 1 authorsprecon: 329 commits, 74 files, 8 authorspycon-uk-2018: 26 commits, 30 files, 2 authorsqbank-tools: 99 commits, 103 files, 2 authorsrevealjs-demo: 17 commits, 20 files, 1 authorsrise-presentation: 12 commits, 12 files, 2 authorsscikit-learn-imputer: 32 commits, 10 files, 7 authorssynthetic4linkage: 97 commits, 58 files, 4 authorstraffic_as_early_indicator: 30 commits, 136 files, 2 authorszip_to_sequence_file: 21 commits, 14 files, 1 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

datadata: 99scriptsscripts: 66.ipynb_checkpoints.ipynb_checkpoints: 66teststests: 55figuresfigures: 44srcsrc: 44docsdocs: 33reportsreports: 22imagesimages: 22deploydeploy: 22resultsresults: 22supportsupport: 22__pycache____pycache__: 22outputoutput: 22picspics: 22css-picscss-pics: 22WP7-UK-scriptsWP7-UK-scripts: 11LookupsLookups: 11

Most common file extensions

By total file count across the estate.

.pdf.pdf: 2.4k2.4k.csv.csv: 789789.html.html: 600600.png.png: 312312.py.py: 227227.xml.xml: 183183.ipynb.ipynb: 9595.scss.scss: 8181.md.md: 5757.js.js: 4747.r.r: 3232.rst.rst: 3030.pyc.pyc: 2626.txt.txt: 2323.jpg.jpg: 1717.css.css: 1717

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
exploring_companies_houseHTML565.7 MB53,249active
bristol_data_diveJupyter Notebook187.9 MB11277active
OpencellID-analysisR100.7 MB10033active
dcm-transcripts-newJupyter Notebook49.4 MB6286active
parsing_company_accountsHTML41.5 MB48440active
traffic_as_early_indicatorHTML39.5 MB30136active
synthetic4linkagePython26.8 MB9758active
ESSnet-WP7-UK-Case-StudyPython24.8 MB7120active
pycon-uk-2018Jupyter Notebook12.5 MB2630active
RSS-2018HTML11.0 MB1168active
Measuring-Sustainability-ReportingPython6.6 MB1214active
ONSBigData.github.ioHTML5.2 MB111221active
qbank-toolsHTML4.3 MB99103active
LCF-projectJupyter Notebook3.0 MB7032active
Clustering_paperJupyter Notebook2.8 MB43active
bokeh_seedPython2.5 MB1423active
EU-hackathonR2.1 MB55active
labelpropagation_clothingHTML1.7 MB2917active
revealjs-demoHTML1.6 MB1720active
dpm.dashR840.7 kB3736active