[all-commits] [llvm/llvm-project] d5047d: [clangd] Update CC Ranking model with better sampl...
Utkarsh Saxena via All-commits
all-commits at lists.llvm.org
Fri Jan 15 09:18:37 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d5047d762f391c94939d67fc84cae25b24125694
https://github.com/llvm/llvm-project/commit/d5047d762f391c94939d67fc84cae25b24125694
Author: Utkarsh Saxena <usx at google.com>
Date: 2021-01-15 (Fri, 15 Jan 2021)
Changed paths:
M clang-tools-extra/clangd/Quality.cpp
M clang-tools-extra/clangd/quality/model/features.json
M clang-tools-extra/clangd/quality/model/forest.json
Log Message:
-----------
[clangd] Update CC Ranking model with better sampling.
A better sampling strategy was used to generate the dataset for this
model.
New signals introduced in this model:
- NumNameInContext: Number of words in the context that matches the name
of the candidate.
- FractionNameInContext: Fraction of the words in context matching the
name of the candidate.
We remove the signal `IsForbidden` from the model and down rank
forbidden signals aggresively.
Differential Revision: https://reviews.llvm.org/D94697
More information about the All-commits
mailing list