Systems / 2026 / Runs natively
StreamLane
A Go service that ranks work from impact, urgency, effort and risk, written as idiomatic package-per-concern Go with table-driven tests.
01
The problem
Scoring rules tend to end up inline in a handler, where they cannot be tested without standing up the whole service.
02
How I approached it
The ranker is its own package with no knowledge of transport: it takes tasks, returns ranked tasks, and converts risk into a mitigation term so that reducing risk counts toward the score rather than against it. The command in cmd/ only reads input and prints results.
03
The outcome
Scoring logic that is tested directly, with the service as a thin shell around it.