(kind: 'nodes' | 'edges', value: number)
| 156 | expandHint: (outlook: ExpandOutlook, past: { limit: 'nodes' | 'edges'; by: 'calls' | 'growth' } | undefined) => { |
| 157 | const { layer, frontier, estimate, calls, loaded, limits } = outlook; |
| 158 | const unit = (kind: 'nodes' | 'edges', value: number) => count(value, kind === 'nodes' ? 'node' : 'edge', kind); |
| 159 | const evidence = calls === undefined |
| 160 | ? `Growing like the last layer it adds about ${estimate.toLocaleString()} nodes, and a hub can add many more` |
| 161 | : `The index lists ${count(calls, 'call', 'calls')} at them that ${calls === 1 ? 'is' : 'are'} not loaded yet` |
no test coverage detected