Fitness Function Block
Document architectural fitness functions that measure and enforce system qualities.
Overview
The Fitness Function block documents architectural fitness functions used in evolutionary architecture. Fitness functions are automated tests that measure how well a system meets architectural goals. Use this block to capture what is measured, acceptable thresholds, and how the function is automated.
Passing Fitness Function
A function that is currently meeting its threshold.
Failing Fitness Function
A function that requires attention due to threshold violation.
Unknown Status
A function with status not yet determined.
Block Properties
| Property | Required | Description |
|---|---|---|
| name | Yes | Name of the fitness function |
| description | Yes | What architectural characteristic this measures |
| metric | Yes | What is measured and in what unit |
| threshold | Yes | Acceptable value or range |
| automation | Yes | How the measurement is automated |
| frequency | No | How often the function runs (e.g., 'Every deployment', 'Daily', 'Continuous') |
| owner | No | Team responsible for this function |
| status | No | One of 'passing', 'failing', or 'unknown' |