| 125 | } |
| 126 | |
| 127 | static int count_confident_strategy(const CBMResolvedCallArray *arr, const char *strategy) { |
| 128 | int count = 0; |
| 129 | for (int i = 0; arr && i < arr->count; i++) { |
| 130 | const CBMResolvedCall *rc = &arr->items[i]; |
| 131 | if (rc->confidence >= 0.6f && rc->strategy && strcmp(rc->strategy, strategy) == 0) { |
| 132 | count++; |
| 133 | } |
| 134 | } |
| 135 | return count; |
| 136 | } |
| 137 | |
| 138 | /* ── Category 1: Free function calls + module path ─────────────── */ |
| 139 |