This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGd5047d762f39: [clangd] Update CC Ranking model with better
sampling. (authored by usaxena95).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE L
usaxena95 updated this revision to Diff 316969.
usaxena95 added a comment.
Addressed comments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94697/new/
https://reviews.llvm.org/D94697
Files:
clang-tools-extra/clangd/Quality.cpp
clang-tools-ext
adamcz accepted this revision.
adamcz added inline comments.
This revision is now accepted and ready to land.
Comment at: clang-tools-extra/clangd/Quality.cpp:515
+ E.setFractionNameInContext(
+ Relevance.ContextWords ? NumMatch * 1.0 / Relevance.ContextWords->size()
+
usaxena95 created this revision.
usaxena95 added a reviewer: adamcz.
Herald added subscribers: kadircet, arphaman.
usaxena95 requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang.
A better sampling strategy was used to gener