Skip to content

analyze.py: clustering is lexical, not semantic #5

Description

@hailcpy

Two gaps in topic matching:

  1. Cross-module, no shared file (the strict-xfail test_crossmodule_clustering_is_a_known_gap): gRPC adopted in two modules shares the concept but no file/deep-dir → split into two candidates. Needs semantic/embedding clustering (deferred v2).
  2. Literal token overlap: no stemming/synonyms. "Kafka" vs "event streaming", "redis" vs "caching" wont merge; coincidental word reuse can over-merge.

Fix (v2): embedding-based candidate merging, prototyped offline and proven to beat the deterministic pass before adoption.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions