(value: EffortValue)
| 264 | * @returns Human-readable description |
| 265 | */ |
| 266 | export function getEffortValueDescription(value: EffortValue): string { |
| 267 | if (isInternalBuild() && typeof value === 'number') { |
| 268 | return `[NOUMENA-ONLY] Numeric effort value of ${value}` |
| 269 | } |
| 270 | |
| 271 | if (typeof value === 'string') { |
| 272 | return getEffortLevelDescription(value) |
| 273 | } |
| 274 | return 'Balanced approach with standard implementation and testing' |
| 275 | } |
| 276 | |
| 277 | export type OpusDefaultEffortConfig = { |
| 278 | enabled: boolean |
no test coverage detected