A sample of the Companies House Persons with Significant Control (PSC) snapshot, and a Helm chart to run a pipeline over it on Kubernetes.
This repository is the starting point for a technical exercise. Your task is described in TASK.md. This README covers what's here and what you need.
- Python 3.11 or later, and the SQL engine of your choice if you want one
- Docker
- Helm 3
- Optional: a local Kubernetes cluster such as kind, k3d or minikube, and kubectl, to check your chart
data/
persons-with-significant-control-snapshot-2026-10-29-sample.txt.gz The raw sample: gzip, JSON lines
README.md Where the data comes from, and its licence
kubernetes/helm/
psc-pipeline/ The chart for Part 2 of the task
artifacts/ You fill this in: plans, prompts, session logs
NOTES.md You fill this in: your notes
REVIEW.md You fill this in: your review of the chart
TASK.md The task
There is no starter code for the pipeline. Choose your own tools and layout.
The sample holds about 48,000 records for about 29,000 companies, in the format Companies House publishes the full snapshot. Each line is one JSON record. See data/README.md.
kubernetes/helm/psc-pipeline/ is an umbrella chart: a weekly CronJob for the pipeline, and PostgreSQL from the groundhog2k postgres chart as a dependency. Part 2 of the task is about this chart.
Replace this section with the exact commands to run your pipeline from a clean clone, to deploy it with your chart, and to look up one company in the output.
Your task: TASK.md.