E407 Improve proximity scoring · Issue #39 · sourceant/sourceant · GitHub
[go: up one dir, main page]

Skip to content

Improve proximity scoring #39

@nfebe

Description

@nfebe

While the current discrete scoring works, a more continuous decay function like 1.0 / (1.0 + distance) for _calculate_proximity_score can provide a smoother and potentially more nuanced scoring for varying distances.

        return 1.0 / (1.0 + distance)

Originally posted by @sourceant[bot] in #37 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0