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
{{ message }}
Repository navigation
analytics(problems): keep the requested type and distinct same-line findings through dedup #21129
GET /problems?problem_type=code_smell_long_method returns the finding relabelled long_function because dedupe_same_location_problems canonicalises every response. Filtered responses should keep the requested type; unfiltered ones stay canonical (api/codebase_analytics/endpoints/stats.py, problem_dedup.py).
Two unclosed-resource findings on one line carry the same type, line and description, so dedup merges them and the count is one short. Carry an occurrence location through analysis, storage and dedup so both survive (problem_dedup.py_location).
Acceptance: a test requests each family member by type and gets that type back; a test with two same-line identical-description findings keeps both.
Activity