(value: EffortValue)
| 241 | * @returns Human-readable description |
| 242 | */ |
| 243 | export function getEffortValueDescription(value: EffortValue): string { |
| 244 | if (process.env.USER_TYPE === 'ant' && typeof value === 'number') { |
| 245 | return `[ANT-ONLY] Numeric effort value of ${value}` |
| 246 | } |
| 247 | |
| 248 | if (typeof value === 'string') { |
| 249 | return getEffortLevelDescription(value) |
| 250 | } |
| 251 | return 'Balanced approach with standard implementation and testing' |
| 252 | } |
| 253 | |
| 254 | export type OpusDefaultEffortConfig = { |
| 255 | enabled: boolean |
no test coverage detected