(deltaRatio)
| 31 | } |
| 32 | |
| 33 | function classifyEstimateAlignment(deltaRatio) { |
| 34 | if (deltaRatio <= 0.2) { |
| 35 | return "close"; |
| 36 | } |
| 37 | if (deltaRatio <= 0.5) { |
| 38 | return "drift"; |
| 39 | } |
| 40 | return "wide-drift"; |
| 41 | } |
| 42 | |
| 43 | function extractUsagePayload(candidate) { |
| 44 | if (!candidate || typeof candidate !== "object") { |
no outgoing calls
no test coverage detected