Return the live install/uninstall log and current service state.
()
| 1682 | if total > 1e-6: |
| 1683 | centroid = {'x': sum(n['x'] * n['disturbance'] for n in nodes) / total, |
| 1684 | 'y': sum(n['y'] * n['disturbance'] for n in nodes) / total} |
| 1685 | hot_count = sum(1 for n in nodes if n['hot']) |
| 1686 | interior = _gf_point_in_polygon(centroid, inset) if centroid else False |
| 1687 | corroborated = hot_count >= _GF_MIN_HOT_NODES |
| 1688 | energetic = total >= _GF_MIN_TOTAL_DISTURBANCE |
| 1689 | inside_perimeter = interior and corroborated and energetic |
| 1690 | if not energetic: |
| 1691 | reason = 'quiet' |
| 1692 | elif not corroborated: |
| 1693 | reason = f'edge/outside — only {hot_count} corner(s) disturbed' |
| 1694 | elif not interior: |
| 1695 | reason = 'disturbance centroid outside perimeter' |
| 1696 | else: |
| 1697 | reason = 'inside perimeter' |
| 1698 | return {'ok': True, 'reason': reason, 'inside_perimeter': inside_perimeter, |
| 1699 | 'energetic': energetic, 'corroborated': corroborated, 'interior': interior, |
nothing calls this directly
no test coverage detected