Refactor a Legacy Reporting Script for a Renewable-Energy Startup
Overview
What this challenge is about.
Refactor a legacy reporting script into clean layers for a renewable-energy startup. Prove output equality with tests. Earn a verifiable certificate.
The scenario
The startup (DKK 80M ARR, 4 engineers, customers across 6 Nordic wind operators) needs to add roughly 12 new report columns over the next 6 months — the current script architecture makes that impossible.
The Brief
What you'll do, and what you'll demonstrate.
Refactor a 1,200-line single-file reporting script into modular abstractions while proving output equality with the existing baseline.
Earning criteria — what you'll demonstrate
- Identify responsibilities tangled in a real legacy script
- Apply higher-order functions to replace nested-loop logic
- Design a data abstraction that isolates layers from each other
- Prove behavioral equivalence with the previous implementation
Program Fit
Where this fits in your program.
Sharpens the same skills your degree expects you to demonstrate.
Programming Abstractions
Bachelor · Programming Languages
Strong alignment
This challenge maps to Programming Abstractions at the Bachelor level. It sharpens the same practical skills your coursework expects — but in a real industry context with actual constraints and deliverables.
Skills
Skills you'll demonstrate.
Each one shows up on your verified credential.
- Abstraction
Apply abstraction to solve real industry problems and demonstrate production-level capability.
- Higher Order Functions
Apply higher order functions to solve real industry problems and demonstrate production-level capability.
- Refactoring
Apply refactoring to solve real industry problems and demonstrate production-level capability.
- Python Programming
Apply python programming to solve real industry problems and demonstrate production-level capability.
- Data Abstraction
Apply data abstraction to solve real industry problems and demonstrate production-level capability.
- Modular Design
Apply modular design to solve real industry problems and demonstrate production-level capability.
Careers
Career paths this challenge builds toward
Completing this challenge demonstrates skills that transfer directly to these roles: