Skip to content
Katabench
Try free

Where Does the Policy Live?

Hard About 40 min Katabench Pro

A late-fee business policy is stranded in Infrastructure because it depends on a concrete repository. Move it to the domain by inverting the dependency, not by relocating the file.

The full brief is part of Katabench Pro

Pro opens this kata's brief, its starter code and its grader. To see how the track works first, try Config Is Infrastructure, which is free.

How it is graded

You work across multiple files, and architecture rules turn the design boundaries into executable feedback.

C# architecture exercises →

What it practices

Dependency inversion
Point dependencies at abstractions the core owns, never at outer mechanisms.

Related katas