You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Crash fixes:
- owner/uses: route unbounded raw `IN (...)` clauses through batched_in so a
directory with >999 files, or a bare name resolving to >999 symbols, no
longer hits SQLITE_MAX_VARIABLE_NUMBER ("too many SQL variables").
Correctness:
- command_advice: `roam <cmd> --help` examples are no longer reported
non-executable — `--help` is an eager flag that short-circuits before
positional validation.
- graph modularity was always 0.0: a NotAPartition over an incomplete cluster
partition was swallowed by a bare except. Repair the partition with
singletons for uncovered nodes across clusters/fingerprint/simulate; real
repos now report Q~0.8 instead of "no community structure".
Pattern-2 empty-state disclosure (no more silent clean/PASS/HEALTHY on an empty
corpus): cycles, clusters, dashboard, dead, clones, debt, alerts, complexity,
and uses now emit an explicit state via the shared resolve.empty_corpus_state
helper; clusters also discloses trivial_clustering when modularity Q<=0; verify
discloses state=no_changes on an empty diff.
Perf guards (defensive, behavior-preserving below the caps):
- partition + cut: k-sample (seeded) betweenness on large graphs.
- cut: pre-bucket cross-cluster edges in one pass (drops the O(clusters^2*|E|)
rescan) and gate max-flow min-cut behind a node-count cap.
Tests added/updated for every change; full suite green on the CI loadgroup surface.
0 commit comments