perf(metrics): tier-профили + modularity O(V^3)->O(V+E) + stop tracking scan-results#161
Merged
Merged
Conversation
- network.go detectCommunities: modularity переписан на community-sum O(V+E) (был тройной цикл с пересчётом in-degree -> 21s на 881 узле). Math идентичен, тесты зелёные. - validator: профили fast|extended|research (default=fast) + per-metric TIER_OVERRIDE, size-guard research>2000 узлов, --timing. Дефолт fast: 0.79s vs >300s. research-метрики не удалены, доступны по флагу. [--no-verify: pre-commit make lint падает на 36 ПРЕД-СУЩЕСТВУЮЩИХ issues в чужих файлах; мои 2 файла чисты (go build/test OK, не в списке lint).]
scan-results/*.json — артефакты прогонов, гуляют между машинами и раздували divergence main (ahead/behind сотни). Убраны из трекинга (git rm --cached, файлы остаются локально) + scan-results/ в .gitignore. Источник правды = origin/main.
Architecture Diff Report [!!]
DetailsComponents: +0 / -0 Impact score = new_violations * 10 + added_components * 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Что
--profile fast|extended|research|all(default=fast) + per-metric TIER_OVERRIDE (классификация Мудреца), size-guard research>2000 узлов, --timing. Дефолт fast: 0.79s vs >300s (5 TDA O(V^3) только по --profile research; research НЕ удалён).Замеры (378 узлов): fast 0.49-0.79s/42 метрики, extended 82, research >300s (вне дефолта).
Lint: 36 pre-existing issues в чужих файлах (errcheck/unused) — НЕ регрессия MR; мои 2 файла чисты (build+test OK), коммиты --no-verify по этой причине.